From 0c6c843ecf3845e66cd07211862ef99448dce8be Mon Sep 17 00:00:00 2001 From: Simon Parten Date: Wed, 25 Dec 2024 21:25:32 +0100 Subject: [PATCH] fix --- vecxt/src/doublematrix.scala | 4 ++++ vecxt/test/src/matrix.test.scala | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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) }