Skip to content

Commit c993117

Browse files
try fix windows
1 parent f51843e commit c993117

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
@@ -70,7 +70,7 @@ cpdef np.ndarray[floating] _kmeans_loss(np.ndarray[floating, ndim=2, mode='c'] X
7070
np.ndarray[floating, ndim=2] centers = np.zeros([n_classes,
7171
n_features],
7272
dtype = dtype)
73-
np.ndarray[int64_t] num_in_cluster = np.zeros(n_classes, dtype = int)
73+
np.ndarray[int32_t] num_in_cluster = np.zeros(n_classes, dtype = int)
7474
np.ndarray[floating] inertias = np.zeros(n_samples, dtype = dtype)
7575
for i in range(n_samples):
7676
for j in range(n_features):

0 commit comments

Comments
 (0)