From 3ddbf177650a17a5b2472051a0d760047946fa33 Mon Sep 17 00:00:00 2001 From: apomytkina Date: Sat, 14 May 2022 09:25:00 +0300 Subject: [PATCH 1/2] Changed --- .../kscience/kmath/interpolation/LinearInterpolatorTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmath-functions/src/commonTest/kotlin/space/kscience/kmath/interpolation/LinearInterpolatorTest.kt b/kmath-functions/src/commonTest/kotlin/space/kscience/kmath/interpolation/LinearInterpolatorTest.kt index 1143036d4..5eb1d7d1a 100644 --- a/kmath-functions/src/commonTest/kotlin/space/kscience/kmath/interpolation/LinearInterpolatorTest.kt +++ b/kmath-functions/src/commonTest/kotlin/space/kscience/kmath/interpolation/LinearInterpolatorTest.kt @@ -13,7 +13,7 @@ internal class LinearInterpolatorTest { @Test fun testInterpolation() { val data = listOf( - 0.0 to 0.0, + 0.0 to 0.1, 1.0 to 1.0, 2.0 to 3.0, 3.0 to 4.0 From 9a98b012898136164fb052c8a528cd730f15315d Mon Sep 17 00:00:00 2001 From: apomytkina Date: Sat, 14 May 2022 12:09:31 +0300 Subject: [PATCH 2/2] Changed --- .../kotlin/space/kscience/kmath/geometry/ProjectionAlongTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmath-geometry/src/commonTest/kotlin/space/kscience/kmath/geometry/ProjectionAlongTest.kt b/kmath-geometry/src/commonTest/kotlin/space/kscience/kmath/geometry/ProjectionAlongTest.kt index dfb65a57c..77562ac86 100644 --- a/kmath-geometry/src/commonTest/kotlin/space/kscience/kmath/geometry/ProjectionAlongTest.kt +++ b/kmath-geometry/src/commonTest/kotlin/space/kscience/kmath/geometry/ProjectionAlongTest.kt @@ -27,7 +27,7 @@ internal class ProjectionAlongTest { @Test fun projectionOntoLine() { with(Euclidean2DSpace) { - val a = 5.0 + val a = 4.0 val b = -3.0 val c = -15.0 val normal = Vector2D(-5.0, 3.0)