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/jacobisvd.cpp | |
parent | bdb545ce3b294e28cd264c627ceaae42d26ea5f4 (diff) |
add the possibility to configure the maximal matrix size in the unit tests
Diffstat (limited to 'test/jacobisvd.cpp')
-rw-r--r-- | test/jacobisvd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp index 907b290af..92f07961b 100644 --- a/test/jacobisvd.cpp +++ b/test/jacobisvd.cpp @@ -324,8 +324,8 @@ void test_jacobisvd() CALL_SUBTEST_7( jacobisvd_inf_nan<MatrixXf>() ); } - CALL_SUBTEST_7(( jacobisvd<MatrixXf>(MatrixXf(internal::random<int>(100, 150), internal::random<int>(100, 150))) )); - CALL_SUBTEST_8(( jacobisvd<MatrixXcd>(MatrixXcd(internal::random<int>(80, 100), internal::random<int>(80, 100))) )); + CALL_SUBTEST_7(( jacobisvd<MatrixXf>(MatrixXf(internal::random<int>(EIGEN_TEST_MAX_SIZE/4, EIGEN_TEST_MAX_SIZE/2), internal::random<int>(EIGEN_TEST_MAX_SIZE/4, EIGEN_TEST_MAX_SIZE/2))) )); + CALL_SUBTEST_8(( jacobisvd<MatrixXcd>(MatrixXcd(internal::random<int>(EIGEN_TEST_MAX_SIZE/4, EIGEN_TEST_MAX_SIZE/3), internal::random<int>(EIGEN_TEST_MAX_SIZE/4, EIGEN_TEST_MAX_SIZE/3))) )); // test matrixbase method CALL_SUBTEST_1(( jacobisvd_method<Matrix2cd>() )); |