diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-10-30 18:06:03 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-10-30 18:06:03 +0100 |
commit | 8a3151de2eae8299629417c98c1040b7ced5bdb5 (patch) | |
tree | 18646974fc55c06ab2c61c44d36078a0506d450a /test/eigensolver_complex.cpp | |
parent | fdf3030ff86fc7d194e6c67acafca80d3148991c (diff) |
Limit matrix size for other eigen and schur decompositions
Diffstat (limited to 'test/eigensolver_complex.cpp')
-rw-r--r-- | test/eigensolver_complex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/eigensolver_complex.cpp b/test/eigensolver_complex.cpp index ad982ed40..8e2bb9ef0 100644 --- a/test/eigensolver_complex.cpp +++ b/test/eigensolver_complex.cpp @@ -118,7 +118,7 @@ template<typename MatrixType> void eigensolver(const MatrixType& m) MatrixType id = MatrixType::Identity(rows, cols); VERIFY_IS_APPROX(id.operatorNorm(), RealScalar(1)); - if (rows > 1) + if (rows > 1 && rows < 20) { // Test matrix with NaN a(0,0) = std::numeric_limits<typename MatrixType::RealScalar>::quiet_NaN(); |