From b8ced43b090bc7402941ae9b647568ff2c101533 Mon Sep 17 00:00:00 2001 From: Alex Klibisz <8015228+alexklibisz@users.noreply.github.com> Date: Sat, 9 Dec 2023 09:07:22 -0800 Subject: [PATCH] Tests: increase error tolerance in PanamaFloatVectorOpsSpec --- .../klibisz/elastiknn/vectors/PanamaFloatVectorOpsSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elastiknn-models/src/test/scala/com/klibisz/elastiknn/vectors/PanamaFloatVectorOpsSpec.scala b/elastiknn-models/src/test/scala/com/klibisz/elastiknn/vectors/PanamaFloatVectorOpsSpec.scala index 0b139e461..5b66c724b 100644 --- a/elastiknn-models/src/test/scala/com/klibisz/elastiknn/vectors/PanamaFloatVectorOpsSpec.scala +++ b/elastiknn-models/src/test/scala/com/klibisz/elastiknn/vectors/PanamaFloatVectorOpsSpec.scala @@ -18,7 +18,7 @@ class PanamaFloatVectorOpsSpec extends AnyFreeSpec with Matchers { if (f1 == f2) succeed else { val error: Double = (f1 - f2).abs / f1.abs.min(f2.abs) - error shouldBe <(0.015) + error shouldBe <(0.02) } }