From a8f66fec6591e11a20a9861bda244e15f969fda2 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 12 Jul 2011 14:41:00 +0200 Subject: add the possibility to configure the maximal matrix size in the unit tests --- test/jacobi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/jacobi.cpp') diff --git a/test/jacobi.cpp b/test/jacobi.cpp index 6464c63c5..4d462226c 100644 --- a/test/jacobi.cpp +++ b/test/jacobi.cpp @@ -82,8 +82,8 @@ void test_jacobi() CALL_SUBTEST_3(( jacobi() )); CALL_SUBTEST_3(( jacobi >() )); - int r = internal::random(2, 20), - c = internal::random(2, 20); + int r = internal::random(2, internal::random(1,EIGEN_TEST_MAX_SIZE)/2), + c = internal::random(2, internal::random(1,EIGEN_TEST_MAX_SIZE)/2); CALL_SUBTEST_4(( jacobi(MatrixXf(r,c)) )); CALL_SUBTEST_5(( jacobi(MatrixXcd(r,c)) )); CALL_SUBTEST_5(( jacobi >(MatrixXcd(r,c)) )); -- cgit v1.2.3