mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 12:19:12 +08:00
Disable a failure test if extended double precision is in use (x87)
This commit is contained in:
parent
9fa2c8650e
commit
1fc3a21ed0
@ -417,6 +417,7 @@ void cholesky_faillure_cases()
|
|||||||
VERIFY_IS_NOT_APPROX(mat,ldlt.reconstructedMatrix());
|
VERIFY_IS_NOT_APPROX(mat,ldlt.reconstructedMatrix());
|
||||||
VERIFY(ldlt.info()==NumericalIssue);
|
VERIFY(ldlt.info()==NumericalIssue);
|
||||||
}
|
}
|
||||||
|
#if (!EIGEN_ARCH_i386) || EIGEN_VECTORIZE_SSE2
|
||||||
{
|
{
|
||||||
mat.resize(3,3);
|
mat.resize(3,3);
|
||||||
mat << -1, -3, 3,
|
mat << -1, -3, 3,
|
||||||
@ -426,6 +427,7 @@ void cholesky_faillure_cases()
|
|||||||
VERIFY(ldlt.info()==NumericalIssue);
|
VERIFY(ldlt.info()==NumericalIssue);
|
||||||
VERIFY_IS_NOT_APPROX(mat,ldlt.reconstructedMatrix());
|
VERIFY_IS_NOT_APPROX(mat,ldlt.reconstructedMatrix());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
mat.resize(3,3);
|
mat.resize(3,3);
|
||||||
mat << 1, 2, 3,
|
mat << 1, 2, 3,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user