Skip to content

Commit fa315a9

Browse files
try fix windows
1 parent ebcbd56 commit fa315a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn_extra/robust/_robust_weighted_estimator_helper.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ cpdef np.ndarray[floating] _kmeans_loss(np.ndarray[floating, ndim=2, mode='c'] X
7575
for i in range(n_samples):
7676
for j in range(n_features):
7777
centers[labels[i], j] += X[i, j]
78-
num_in_cluster[labels[i]] += 1
78+
num_in_cluster[labels[i]] = num_in_cluster[labels[i]] + 1
7979

8080
for i in range(n_classes):
8181
for j in range(n_features):

0 commit comments

Comments
 (0)