From 8a3151de2eae8299629417c98c1040b7ced5bdb5 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 30 Oct 2015 18:06:03 +0100 Subject: Limit matrix size for other eigen and schur decompositions --- test/eigensolver_complex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/eigensolver_complex.cpp') 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 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::quiet_NaN(); -- cgit v1.2.3