aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/schur_real.cpp
diff options
context:
space:
mode:
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 36b9c24d1..e67db6433 100644
--- a/test/schur_real.cpp
+++ b/test/schur_real.cpp
@@ -91,7 +91,7 @@ template<typename MatrixType> void schur(int size = MatrixType::ColsAtCompileTim
VERIFY_IS_EQUAL(rs1.matrixT(), rsOnlyT.matrixT());
VERIFY_RAISES_ASSERT(rsOnlyT.matrixU());
- if (size > 2)
+ if (size > 2 && rows < 20)
{
// Test matrix with NaN
A(0,0) = std::numeric_limits<typename MatrixType::Scalar>::quiet_NaN();