diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-06-16 11:07:40 +0100 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-06-16 11:07:40 +0100 |
commit | 8438719111d0e58933b305c3b6a73857e3500fd6 (patch) | |
tree | 8b336c1e35719378f1455bf8350444468c9c7303 /unsupported/test/matrix_exponential.cpp | |
parent | 9726824f7c844af457c367ac79c27d70a16ef80a (diff) |
Compilation fix for matrix_exponential test: add 'typename'.
Diffstat (limited to 'unsupported/test/matrix_exponential.cpp')
-rw-r--r-- | unsupported/test/matrix_exponential.cpp | 4 |
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); |