From 1ce8a5708d1cadd0ce2104c60cc870dbea581e22 Mon Sep 17 00:00:00 2001 From: Iaroslav Postovalov Date: Sat, 6 Feb 2021 23:07:11 +0700 Subject: [PATCH] Add OptIn annotation --- .../src/commonTest/kotlin/kaceince/kmath/real/RealMatrixTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kmath-for-real/src/commonTest/kotlin/kaceince/kmath/real/RealMatrixTest.kt b/kmath-for-real/src/commonTest/kotlin/kaceince/kmath/real/RealMatrixTest.kt index 309997ae3..7c3540a2e 100644 --- a/kmath-for-real/src/commonTest/kotlin/kaceince/kmath/real/RealMatrixTest.kt +++ b/kmath-for-real/src/commonTest/kotlin/kaceince/kmath/real/RealMatrixTest.kt @@ -2,6 +2,7 @@ package kaceince.kmath.real import kscience.kmath.linear.Matrix import kscience.kmath.linear.build +import kscience.kmath.misc.UnstableKMathAPI import kscience.kmath.real.* import kscience.kmath.structures.contentEquals import kotlin.test.Test @@ -91,6 +92,7 @@ internal class RealMatrixTest { assertEquals(matrix1.pow(3), matrix3) } + @OptIn(UnstableKMathAPI::class) @Test fun testTwoMatrixOperations() { val matrix1 = Matrix.build(2, 3)(