From 8a727ec58b2eb84ee3c3c2b95c3fbdba58ab90f6 Mon Sep 17 00:00:00 2001 From: rjbaucells Date: Thu, 5 Mar 2015 22:22:28 -0500 Subject: [PATCH] Matrix tests using DenseFormat --- lib/type/matrix/DenseFormat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/type/matrix/DenseFormat.js b/lib/type/matrix/DenseFormat.js index 5a7727d26..6043063db 100644 --- a/lib/type/matrix/DenseFormat.js +++ b/lib/type/matrix/DenseFormat.js @@ -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(); }