Skip to content

Commit 832dfc1

Browse files
try fix windows
1 parent 78ef2f2 commit 832dfc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn_extra/robust/_robust_weighted_estimator_helper.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ cpdef np.ndarray[floating] _kmeans_loss(np.ndarray[floating, ndim=2, mode='c'] X
6767
np.ndarray[floating, ndim=2] centers = np.zeros([n_classes,
6868
n_features],
6969
dtype = dtype)
70-
np.ndarray[int32_t] num_in_cluster = np.zeros(n_classes, dtype = int)
70+
np.ndarray[floating] num_in_cluster = np.zeros(n_classes, dtype = dtype)
7171
np.ndarray[floating] inertias = np.zeros(n_samples, dtype = dtype)
7272
for i in range(n_samples):
7373
for j in range(n_features):

0 commit comments

Comments
 (0)