Compilation fix for matrix_exponential test: add 'typename'.

This commit is contained in:
Jitse Niesen 2010-06-16 11:07:40 +01:00
parent 9726824f7c
commit 8438719111

View File

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