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/product_notemporary.cpp | |
parent | bdb545ce3b294e28cd264c627ceaae42d26ea5f4 (diff) |
add the possibility to configure the maximal matrix size in the unit tests
Diffstat (limited to 'test/product_notemporary.cpp')
-rw-r--r-- | test/product_notemporary.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp index 980e2bbaf..1a9dc14d9 100644 --- a/test/product_notemporary.cpp +++ b/test/product_notemporary.cpp @@ -141,13 +141,13 @@ void test_product_notemporary() { int s; for(int i = 0; i < g_repeat; i++) { - s = internal::random<int>(16,320); + s = internal::random<int>(16,EIGEN_TEST_MAX_SIZE); CALL_SUBTEST_1( product_notemporary(MatrixXf(s, s)) ); - s = internal::random<int>(16,320); + s = internal::random<int>(16,EIGEN_TEST_MAX_SIZE); CALL_SUBTEST_2( product_notemporary(MatrixXd(s, s)) ); - s = internal::random<int>(16,120); + s = internal::random<int>(16,EIGEN_TEST_MAX_SIZE/2); CALL_SUBTEST_3( product_notemporary(MatrixXcf(s,s)) ); - s = internal::random<int>(16,120); + s = internal::random<int>(16,EIGEN_TEST_MAX_SIZE/2); CALL_SUBTEST_4( product_notemporary(MatrixXcd(s,s)) ); } } |