Skip to content

Commit 3694133

Browse files
Alex7Lirth
authored andcommitted
Fix eigenpro failure on travisCI (#30)
1 parent 32acfe7 commit 3694133

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sklearn_extra/kernel_methods/_eigenpro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def _raw_predict(self, X):
370370
Predicted targets.
371371
"""
372372
check_is_fitted(self, ["bs_", "centers_", "coef_", "was_1D_"])
373-
X = np.asarray(X, dtype=np.float32)
373+
X = np.asarray(X, dtype=np.float64)
374374

375375
if len(X.shape) == 1:
376376
raise ValueError(

sklearn_extra/tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Fastfood,
1414
KMedoids,
1515
_eigenpro.EigenProClassifier,
16-
pytest.param(_eigenpro.EigenProRegressor, marks=pytest.mark.xfail),
16+
_eigenpro.EigenProRegressor,
1717
],
1818
)
1919
def test_all_estimators(Estimator, request):

0 commit comments

Comments
 (0)