Skip to content

Commit 660fe82

Browse files
Increase delta in ESVectorUtilTests (elastic#131692) (elastic#131700)
This commit increases the delta in ESVectorUtilTests.testSoarDistance, similar to what we do in other tests. Co-authored-by: Tommaso Teofili <[email protected]>
1 parent 47d641a commit 660fe82

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
@@ -270,7 +270,7 @@ public void testOsqGridPoints() {
270270

271271
public void testSoarDistance() {
272272
int size = random().nextInt(128, 512);
273-
float deltaEps = 1e-5f * size;
273+
float deltaEps = 1e-3f * size;
274274
var vector = new float[size];
275275
var centroid = new float[size];
276276
var preResidual = new float[size];

0 commit comments

Comments
 (0)