Skip to content

Commit

Permalink
Merge pull request weaviate#5160 from weaviate/fix/flaky-test-simd
Browse files Browse the repository at this point in the history
simd: fix flaky test
  • Loading branch information
antas-marcin authored Jun 14, 2024
2 parents 95fe3a2 + 7e87d8d commit 42c1f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/repos/db/vector/hnsw/distancer/l2_amd64_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func Test_L2_FloatByte_DistanceImplementation(t *testing.T) {
control := L2FloatBytePureGo(x, y)

asmResult := asm.L2FloatByteAVX256(x, y)
require.Equal(t, int(control), int(asmResult))
assert.InEpsilon(t, control, asmResult, 0.01)
})
}
}
Expand Down

0 comments on commit 42c1f4d

Please sign in to comment.