From 8239c3b85bb643747045d0611bff6220166d5b91 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Mon, 21 Jun 2010 07:37:59 +0200 Subject: Fix compilation. --- unsupported/test/matrix_function.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'unsupported/test/matrix_function.cpp') diff --git a/unsupported/test/matrix_function.cpp b/unsupported/test/matrix_function.cpp index 3455fb936..3b4cbfec6 100644 --- a/unsupported/test/matrix_function.cpp +++ b/unsupported/test/matrix_function.cpp @@ -94,6 +94,7 @@ struct randomMatrixWithImagEivals { static MatrixType run(const typename MatrixType::Index size) { + typedef typename MatrixType::Index Index; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; const Scalar imagUnit(0, 1); -- cgit v1.2.3