mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-22 17:49:36 +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_IS_EQUAL(rs1.matrixT(), rsOnlyT.matrixT());
|
||||||
VERIFY_RAISES_ASSERT(rsOnlyT.matrixU());
|
VERIFY_RAISES_ASSERT(rsOnlyT.matrixU());
|
||||||
|
|
||||||
if (size > 1)
|
if (size > 2)
|
||||||
{
|
{
|
||||||
// Test matrix with NaN
|
// Test matrix with NaN
|
||||||
A(0,0) = std::numeric_limits<typename MatrixType::Scalar>::quiet_NaN();
|
A(0,0) = std::numeric_limits<typename MatrixType::Scalar>::quiet_NaN();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user