mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
Matrix tests using DenseFormat
This commit is contained in:
parent
5479a0ad56
commit
8a727ec58b
@ -274,7 +274,7 @@ module.exports = function (math) {
|
||||
|
||||
// calculate the size of the submatrix, and convert it into an Array if needed
|
||||
var sSize;
|
||||
if (submatrix instanceof DenseFormat) {
|
||||
if (submatrix instanceof math.type.Matrix) {
|
||||
sSize = submatrix.size();
|
||||
submatrix = submatrix.valueOf();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user