Commit bf9af17
authored
Compare floats with allowable delta diff in VectorScorerFactoryTests (#126271)
As we do in similar tests elsewhere, this commit updates the comparison assertion of float scores with an allowable delta difference, in order to tolerate small rounding differences which may result from the order of accumulations.1 parent f77a617 commit bf9af17
File tree
1 file changed
+3
-1
lines changed- libs/simdvec/src/test/java/org/elasticsearch/simdvec
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
278 | 280 | | |
279 | 281 | | |
280 | 282 | | |
281 | | - | |
| 283 | + | |
282 | 284 | | |
283 | 285 | | |
284 | 286 | | |
| |||
0 commit comments