aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/schur_real.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-07-12 14:41:00 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-07-12 14:41:00 +0200
commita8f66fec6591e11a20a9861bda244e15f969fda2 (patch)
tree79d30afad3cf953afe35e852e61b6a8729ddf832 /test/schur_real.cpp
parentbdb545ce3b294e28cd264c627ceaae42d26ea5f4 (diff)
add the possibility to configure the maximal matrix size in the unit tests
Diffstat (limited to 'test/schur_real.cpp')
-rw-r--r--test/schur_real.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/schur_real.cpp b/test/schur_real.cpp
index 58717fa1a..ba0947d8c 100644
--- a/test/schur_real.cpp
+++ b/test/schur_real.cpp
@@ -99,7 +99,7 @@ template<typename MatrixType> void schur(int size = MatrixType::ColsAtCompileTim
void test_schur_real()
{
CALL_SUBTEST_1(( schur<Matrix4f>() ));
- CALL_SUBTEST_2(( schur<MatrixXd>(internal::random<int>(1,50)) ));
+ CALL_SUBTEST_2(( schur<MatrixXd>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/4)) ));
CALL_SUBTEST_3(( schur<Matrix<float, 1, 1> >() ));
CALL_SUBTEST_4(( schur<Matrix<double, 3, 3, Eigen::RowMajor> >() ));