aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--unsupported/test/matrix_exponential.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/test/matrix_exponential.cpp b/unsupported/test/matrix_exponential.cpp
index 69f2af044..74b2634c8 100644
--- a/unsupported/test/matrix_exponential.cpp
+++ b/unsupported/test/matrix_exponential.cpp
@@ -122,8 +122,8 @@ void randomTest(const MatrixType& m, double tol)
/* this test covers the following files:
Inverse.h
*/
- MatrixType::Index rows = m.rows();
- MatrixType::Index cols = m.cols();
+ typename MatrixType::Index rows = m.rows();
+ typename MatrixType::Index cols = m.cols();
MatrixType m1(rows, cols), m2(rows, cols), m3(rows, cols),
identity = MatrixType::Identity(rows, rows);