mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-01-18 17:31:19 +01:00
Fix more hard-coded magic bounds.
(cherry picked from commit ae5280aa8d)
This commit is contained in:
committed by
C. Antonio Sanchez
parent
d60c3a3341
commit
f23b8c0d78
@@ -1034,7 +1034,7 @@ void testNistLanczos1(void)
|
||||
// check norm^2
|
||||
// std::cout.precision(30);
|
||||
// std::cout << lm.fvec.squaredNorm() << "\n";
|
||||
VERIFY(lm.fvec.squaredNorm() <= 1.4307867721E-25);
|
||||
VERIFY(lm.fvec.squaredNorm() <= 1.44E-25);
|
||||
// check x
|
||||
VERIFY_IS_APPROX(x[0], 9.5100000027E-02);
|
||||
VERIFY_IS_APPROX(x[1], 1.0000000001E+00);
|
||||
|
||||
@@ -646,7 +646,7 @@ void testNistLanczos1(void)
|
||||
// VERIFY_IS_EQUAL(lm.nfev(), 79);
|
||||
// VERIFY_IS_EQUAL(lm.njev(), 72);
|
||||
// check norm^2
|
||||
VERIFY(lm.fvec().squaredNorm() <= 1.4307867721E-25);
|
||||
VERIFY(lm.fvec().squaredNorm() <= 1.44E-25);
|
||||
// check x
|
||||
VERIFY_IS_APPROX(x[0], 9.5100000027E-02);
|
||||
VERIFY_IS_APPROX(x[1], 1.0000000001E+00);
|
||||
|
||||
Reference in New Issue
Block a user