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_trmv.cpp | |
parent | bdb545ce3b294e28cd264c627ceaae42d26ea5f4 (diff) |
add the possibility to configure the maximal matrix size in the unit tests
Diffstat (limited to 'test/product_trmv.cpp')
-rw-r--r-- | test/product_trmv.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/product_trmv.cpp b/test/product_trmv.cpp index cfb7355ff..76484dce6 100644 --- a/test/product_trmv.cpp +++ b/test/product_trmv.cpp @@ -93,11 +93,11 @@ void test_product_trmv() CALL_SUBTEST_1( trmv(Matrix<float, 1, 1>()) ); CALL_SUBTEST_2( trmv(Matrix<float, 2, 2>()) ); CALL_SUBTEST_3( trmv(Matrix3d()) ); - s = internal::random<int>(1,200); - CALL_SUBTEST_4( trmv(MatrixXcf(s,s)) ); - s = internal::random<int>(1,200); + s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2); + CALL_SUBTEST_4( trmv(MatrixXcf(s,internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2))) ); + s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2); CALL_SUBTEST_5( trmv(MatrixXcd(s,s)) ); - s = internal::random<int>(1,320); + s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE); CALL_SUBTEST_6( trmv(Matrix<float,Dynamic,Dynamic,RowMajor>(s, s)) ); } } |