Matrix tests using DenseFormat

This commit is contained in:
rjbaucells 2015-03-05 22:22:28 -05:00
parent 5479a0ad56
commit 8a727ec58b

View File

@ -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();
}