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 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)