diff --git a/vecxt/src/doublematrix.scala b/vecxt/src/doublematrix.scala index b2db415..5d1147d 100644 --- a/vecxt/src/doublematrix.scala +++ b/vecxt/src/doublematrix.scala @@ -5,6 +5,10 @@ import vecxt.JvmDoubleMatrix.* import vecxt.arrays.* import vecxt.matrix.* +// These are used in cross compilation. +import vecxt.JsDoubleMatrix.* +import vecxt.NativeDoubleMatrix.* + import vecxt.matrixUtil.diag object DoubleMatrix: diff --git a/vecxt/test/src/matrix.test.scala b/vecxt/test/src/matrix.test.scala index 59fc283..bfab151 100644 --- a/vecxt/test/src/matrix.test.scala +++ b/vecxt/test/src/matrix.test.scala @@ -278,7 +278,6 @@ class MatrixExtensionSuite extends FunSuite: test("trace") { val mat = Matrix[Double](NArray(1.0, 2.0, 3.0, 4.0), (2, 2)) - println(mat.printMat) assertEquals(mat.trace, 5.0) }