mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
Slightly adjust error bound for nonlinear tests.
(cherry picked from commit 42aa3d17cd27ecdfa34b81100314749f72c00256)
This commit is contained in:
parent
57c8d7c93f
commit
d60c3a3341
@ -1055,7 +1055,7 @@ void testNistLanczos1(void)
|
||||
// VERIFY_IS_EQUAL(info, 2);
|
||||
LM_CHECK_N_ITERS(lm, 9, 8);
|
||||
// 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);
|
||||
|
@ -668,7 +668,7 @@ void testNistLanczos1(void)
|
||||
// VERIFY_IS_EQUAL(lm.nfev(), 9);
|
||||
// VERIFY_IS_EQUAL(lm.njev(), 8);
|
||||
// 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user