Skip to content

Commit 10a4e9f

Browse files
update how cimport Infinity
1 parent 0acd491 commit 10a4e9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn_extra/robust/_robust_weighted_estimator_helper.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ from time import time
1616
from libc.math cimport exp, log, sqrt, pow, fabs
1717
from libc.stdint cimport int32_t
1818
cimport numpy as np
19-
from numpy.math cimport INFINITY
20-
19+
from libc.math cimport INFINITY
20+
2121

2222
# Modified from sklearn.cluster._k_means_fast.pyx
2323
np.import_array()

0 commit comments

Comments
 (0)