From 0d46116e7a8cfeff08748bd4dd8b80be7fca93e0 Mon Sep 17 00:00:00 2001 From: Burkhard Mittelbach Date: Tue, 1 May 2018 18:17:21 +0200 Subject: [PATCH] double precision missing in test --- .../kotlin/scientifik/kmath/structures/RealNDFieldTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jvm/src/test/kotlin/scientifik/kmath/structures/RealNDFieldTest.kt b/jvm/src/test/kotlin/scientifik/kmath/structures/RealNDFieldTest.kt index 85737ba2a..06f8efe56 100644 --- a/jvm/src/test/kotlin/scientifik/kmath/structures/RealNDFieldTest.kt +++ b/jvm/src/test/kotlin/scientifik/kmath/structures/RealNDFieldTest.kt @@ -27,8 +27,8 @@ class RealNDFieldTest { for(i in 0..2){ for(j in 0..2){ val expected= (i * 10 + j).toDouble() - assertEquals("Error at index [$i, $j]", expected, array[i,j].value) + assertEquals("Error at index [$i, $j]", expected, array[i,j].value, 0.1) } } } -} \ No newline at end of file +}