[kern] inner transformation to types, start for the multitype pandas arrays

This commit is contained in:
Max Zwiessele 2016-03-04 11:34:04 +00:00
parent 7c173056ed
commit 346cb4693e

View file

@ -70,7 +70,10 @@ class Kern(Parameterized):
@Cache_this(limit=20)
def _slice_X(self, X):
return X[:, self._all_dims_active]
try:
return X[:, self._all_dims_active].astype('float')
except:
return X[:, self._all_dims_active]
def K(self, X, X2):
"""