diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-12-10 02:10:03 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-12-10 02:10:03 -0500 |
commit | b11343e15c02ad8dbf0bf5961354e7456fd6632e (patch) | |
tree | 4833ad852cc0212fad6adbc99950ba598db5fb40 /test | |
parent | 74cc42b22fbe1c05dcbedefb65ceabdec20da146 (diff) |
fix intermittend failure of schur_real test: there only is an iterative process if size>2
Diffstat (limited to 'test')
-rw-r--r-- | test/schur_real.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/schur_real.cpp b/test/schur_real.cpp index b61c698c2..58717fa1a 100644 --- a/test/schur_real.cpp +++ b/test/schur_real.cpp @@ -87,7 +87,7 @@ template<typename MatrixType> void schur(int size = MatrixType::ColsAtCompileTim VERIFY_IS_EQUAL(rs1.matrixT(), rsOnlyT.matrixT()); VERIFY_RAISES_ASSERT(rsOnlyT.matrixU()); - if (size > 1) + if (size > 2) { // Test matrix with NaN A(0,0) = std::numeric_limits<typename MatrixType::Scalar>::quiet_NaN(); |