From 8438719111d0e58933b305c3b6a73857e3500fd6 Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Wed, 16 Jun 2010 11:07:40 +0100 Subject: Compilation fix for matrix_exponential test: add 'typename'. --- unsupported/test/matrix_exponential.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported/test/matrix_exponential.cpp') 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); -- cgit v1.2.3