aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/qr_colpivoting.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/qr_colpivoting.cpp
parentbdb545ce3b294e28cd264c627ceaae42d26ea5f4 (diff)
add the possibility to configure the maximal matrix size in the unit tests
Diffstat (limited to 'test/qr_colpivoting.cpp')
-rw-r--r--test/qr_colpivoting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/qr_colpivoting.cpp b/test/qr_colpivoting.cpp
index ddfb1bad5..dd1f89bd6 100644
--- a/test/qr_colpivoting.cpp
+++ b/test/qr_colpivoting.cpp
@@ -30,7 +30,7 @@ template<typename MatrixType> void qr()
{
typedef typename MatrixType::Index Index;
- Index rows = internal::random<Index>(2,200), cols = internal::random<Index>(2,200), cols2 = internal::random<Index>(2,200);
+ Index rows = internal::random<Index>(2,EIGEN_TEST_MAX_SIZE), cols = internal::random<Index>(2,EIGEN_TEST_MAX_SIZE), cols2 = internal::random<Index>(2,EIGEN_TEST_MAX_SIZE);
Index rank = internal::random<Index>(1, std::min(rows, cols)-1);
typedef typename MatrixType::Scalar Scalar;