From 8a38047ec5c16a35a6dc2370e74a5b2fa5f4f1a6 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 4 Jul 2010 15:35:21 +0200 Subject: fix nomalloc_2 issues with ICC and gcc 4.0.1 (and speed up compilation ;) ) --- test/nomalloc.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/nomalloc.cpp') diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp index 23162f2f9..c1965a8ac 100644 --- a/test/nomalloc.cpp +++ b/test/nomalloc.cpp @@ -78,22 +78,23 @@ template void nomalloc(const MatrixType& m) } } +template void ctms_decompositions() { const int maxSize = 16; const int size = 12; - typedef Eigen::Matrix Matrix; - typedef Eigen::Matrix Vector; - typedef Eigen::Matrix, + typedef Eigen::Matrix, Eigen::Dynamic, Eigen::Dynamic, 0, maxSize, maxSize> ComplexMatrix; @@ -137,6 +138,6 @@ void test_nomalloc() CALL_SUBTEST_3(nomalloc(Matrix()) ); // Check decomposition modules with dynamic matrices that have a known compile-time max size (ctms) - CALL_SUBTEST_4(ctms_decompositions()); + CALL_SUBTEST_4(ctms_decompositions()); } -- cgit v1.2.3