Skip to content

Commit

Permalink
Fix test with corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
mayya-sharipova committed Sep 5, 2024
1 parent f213606 commit 22c61a1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,10 @@ public KnnVectorsFormat getKnnVectorsFormatForField(String field) {
assertEquals(corrections[1], qvectorValues.getNormOC(), 0.00001f);
if (corrections.length == 3) {
assertEquals(corrections[2], qvectorValues.getODotC(), 0.00001f);
assertEquals(VectorSimilarityFunction.MAXIMUM_INNER_PRODUCT, similarityFunction);
} else {
assertEquals(2, corrections.length);
}
assertEquals(2, corrections.length);
}
}
}
Expand Down

0 comments on commit 22c61a1

Please sign in to comment.