Skip to content

Commit 446942f

Browse files
authored
Increase delta in ESVectorUtilTests (#131692)
This commit increases the delta in ESVectorUtilTests.testSoarDistance, similar to what we do in other tests.
1 parent 2b37b4c commit 446942f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/simdvec/src/test/java/org/elasticsearch/simdvec/ESVectorUtilTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public void testOsqGridPoints() {
284284

285285
public void testSoarDistance() {
286286
int size = random().nextInt(128, 512);
287-
float deltaEps = 1e-5f * size;
287+
float deltaEps = 1e-3f * size;
288288
var vector = new float[size];
289289
var centroid = new float[size];
290290
var preResidual = new float[size];

0 commit comments

Comments
 (0)