Skip to content

Commit 409f810

Browse files
Fix lints
1 parent 25ae12b commit 409f810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kmeans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fn assign_labels(
9999
best_k = c;
100100
}
101101
}
102-
labels[i] = best_k;
102+
labels[i] = best_k;
103103
let w = sample_weight.map_or(1.0, |sw| sw[i]);
104104
inertia += best_d * w;
105105
}

0 commit comments

Comments
 (0)