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/selfadjoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/selfadjoint.cpp') diff --git a/test/selfadjoint.cpp b/test/selfadjoint.cpp index 622045f20..364478b80 100644 --- a/test/selfadjoint.cpp +++ b/test/selfadjoint.cpp @@ -61,7 +61,7 @@ void test_selfadjoint() { for(int i = 0; i < g_repeat ; i++) { - int s = internal::random(1,20); EIGEN_UNUSED_VARIABLE(s); + int s = internal::random(1,EIGEN_TEST_MAX_SIZE); EIGEN_UNUSED_VARIABLE(s); CALL_SUBTEST_1( selfadjoint(Matrix()) ); CALL_SUBTEST_2( selfadjoint(Matrix()) ); -- cgit v1.2.3