#13767: fix test failure: compress can only be true when quantized bits=4

This commit is contained in:
Mike McCandless 2024-09-15 16:10:32 -04:00
parent a7332fb30a
commit 3801d85978
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ public class TestLucene99ScalarQuantizedVectorScorer extends LuceneTestCase {
}
public void testScoringInt7() throws Exception {
vectorScoringTest(7, random().nextBoolean());
vectorScoringTest(7, false);
}
private void vectorScoringTest(int bits, boolean compress) throws IOException {