diff options
author | 2011-07-12 14:41:00 +0200 | |
---|---|---|
committer | 2011-07-12 14:41:00 +0200 | |
commit | a8f66fec6591e11a20a9861bda244e15f969fda2 (patch) | |
tree | 79d30afad3cf953afe35e852e61b6a8729ddf832 /test/qr.cpp | |
parent | bdb545ce3b294e28cd264c627ceaae42d26ea5f4 (diff) |
add the possibility to configure the maximal matrix size in the unit tests
Diffstat (limited to 'test/qr.cpp')
-rw-r--r-- | test/qr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/qr.cpp b/test/qr.cpp index 7e9ac9df9..6005c0e27 100644 --- a/test/qr.cpp +++ b/test/qr.cpp @@ -114,8 +114,8 @@ template<typename MatrixType> void qr_verify_assert() void test_qr() { for(int i = 0; i < g_repeat; i++) { - CALL_SUBTEST_1( qr(MatrixXf(internal::random<int>(1,200),internal::random<int>(1,200))) ); - CALL_SUBTEST_2( qr(MatrixXcd(internal::random<int>(1,200),internal::random<int>(1,200))) ); + CALL_SUBTEST_1( qr(MatrixXf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE),internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) ); + CALL_SUBTEST_2( qr(MatrixXcd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2),internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2))) ); CALL_SUBTEST_3(( qr_fixedsize<Matrix<float,3,4>, 2 >() )); CALL_SUBTEST_4(( qr_fixedsize<Matrix<double,6,2>, 4 >() )); CALL_SUBTEST_5(( qr_fixedsize<Matrix<double,2,5>, 7 >() )); |