aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/schur_complex.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_complex.cpp
parentbdb545ce3b294e28cd264c627ceaae42d26ea5f4 (diff)
add the possibility to configure the maximal matrix size in the unit tests
Diffstat (limited to 'test/schur_complex.cpp')
-rw-r--r--test/schur_complex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/schur_complex.cpp b/test/schur_complex.cpp
index a2a89fd67..15532e2cc 100644
--- a/test/schur_complex.cpp
+++ b/test/schur_complex.cpp
@@ -80,7 +80,7 @@ template<typename MatrixType> void schur(int size = MatrixType::ColsAtCompileTim
void test_schur_complex()
{
CALL_SUBTEST_1(( schur<Matrix4cd>() ));
- CALL_SUBTEST_2(( schur<MatrixXcf>(internal::random<int>(1,50)) ));
+ CALL_SUBTEST_2(( schur<MatrixXcf>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/4)) ));
CALL_SUBTEST_3(( schur<Matrix<std::complex<float>, 1, 1> >() ));
CALL_SUBTEST_4(( schur<Matrix<float, 3, 3, Eigen::RowMajor> >() ));