aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/schur_real.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-30 22:16:23 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-30 22:16:23 +0100
commit5a2007f7e4dcf72e40c3e45f2f86bcc9bd7c0fae (patch)
treeba7067e9d7618f00edcfd47bf2085051c0793e0c /test/schur_real.cpp
parent8a3151de2eae8299629417c98c1040b7ced5bdb5 (diff)
typo
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 e67db6433..cfe4570d4 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 && rows < 20)
+ if (size > 2 && size < 20)
{
// Test matrix with NaN
A(0,0) = std::numeric_limits<typename MatrixType::Scalar>::quiet_NaN();