fix tests : we perform slightly worse because we do use one more function

evaluation in our numericaldiff than what (c)minpack did
This commit is contained in:
Thomas Capricelli
2009-09-28 04:13:57 +02:00
parent d912034565
commit 7968737247
3 changed files with 11 additions and 9 deletions

View File

@@ -561,7 +561,7 @@ void testLmdif1()
// check return value
VERIFY( 1 == info);
VERIFY(nfev==21);
VERIFY(nfev==26);
// check norm
functor(x, fvec);
@@ -592,7 +592,7 @@ void testLmdif()
// check return values
VERIFY( 1 == info);
VERIFY(lm.nfev==21);
VERIFY(lm.nfev==26);
// check norm
fnorm = lm.fvec.blueNorm();