mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-11-21 03:11:25 +08:00
fix intermittend failure of schur_real test: there only is an iterative process if size>2
This commit is contained in:
parent
74cc42b22f
commit
b11343e15c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user