Add OptIn annotation
This commit is contained in:
parent
d728c35d72
commit
1ce8a5708d
@ -2,6 +2,7 @@ package kaceince.kmath.real
|
|||||||
|
|
||||||
import kscience.kmath.linear.Matrix
|
import kscience.kmath.linear.Matrix
|
||||||
import kscience.kmath.linear.build
|
import kscience.kmath.linear.build
|
||||||
|
import kscience.kmath.misc.UnstableKMathAPI
|
||||||
import kscience.kmath.real.*
|
import kscience.kmath.real.*
|
||||||
import kscience.kmath.structures.contentEquals
|
import kscience.kmath.structures.contentEquals
|
||||||
import kotlin.test.Test
|
import kotlin.test.Test
|
||||||
@ -91,6 +92,7 @@ internal class RealMatrixTest {
|
|||||||
assertEquals(matrix1.pow(3), matrix3)
|
assertEquals(matrix1.pow(3), matrix3)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OptIn(UnstableKMathAPI::class)
|
||||||
@Test
|
@Test
|
||||||
fun testTwoMatrixOperations() {
|
fun testTwoMatrixOperations() {
|
||||||
val matrix1 = Matrix.build(2, 3)(
|
val matrix1 = Matrix.build(2, 3)(
|
||||||
|
Loading…
Reference in New Issue
Block a user