Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketkedia committed Dec 5, 2024
1 parent ec20050 commit 5589aff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/index/src/spann/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,8 @@ mod tests {
// 2D embeddings.
let dim = 2;
let embeddings = [
0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0, 10.0, 10.0, 11.0, 10.0, 10.0, 11.0, 11.0, 11.0,
0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1000.0, 10000.0, 11000.0, 10000.0, 10000.0,
11000.0, 11000.0, 11000.0,
];
let indices = vec![0, 1, 2, 3, 4, 5, 6, 7];
let mut kmeans_algo = KMeansAlgorithmInput::new(
Expand Down

0 comments on commit 5589aff

Please sign in to comment.