diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-07-12 14:41:00 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-07-12 14:41:00 +0200 |
commit | a8f66fec6591e11a20a9861bda244e15f969fda2 (patch) | |
tree | 79d30afad3cf953afe35e852e61b6a8729ddf832 /test/triangular.cpp | |
parent | bdb545ce3b294e28cd264c627ceaae42d26ea5f4 (diff) |
add the possibility to configure the maximal matrix size in the unit tests
Diffstat (limited to 'test/triangular.cpp')
-rw-r--r-- | test/triangular.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/triangular.cpp b/test/triangular.cpp index 69decb793..7d49f6f65 100644 --- a/test/triangular.cpp +++ b/test/triangular.cpp @@ -244,8 +244,8 @@ void test_triangular() { for(int i = 0; i < g_repeat ; i++) { - int r = internal::random<int>(2,20); EIGEN_UNUSED_VARIABLE(r); - int c = internal::random<int>(2,20); EIGEN_UNUSED_VARIABLE(c); + int r = internal::random<int>(2,EIGEN_TEST_MAX_SIZE); EIGEN_UNUSED_VARIABLE(r); + int c = internal::random<int>(2,EIGEN_TEST_MAX_SIZE); EIGEN_UNUSED_VARIABLE(c); CALL_SUBTEST_1( triangular_square(Matrix<float, 1, 1>()) ); CALL_SUBTEST_2( triangular_square(Matrix<float, 2, 2>()) ); |