Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Dec 25, 2024
1 parent 92b8a7b commit 0c6c843
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions vecxt/src/doublematrix.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion vecxt/test/src/matrix.test.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 0c6c843

Please sign in to comment.