Within the testNistMGH10() test function in test/levenberg_marquardt.cpp, the following code is incorrect (currently lines 787-792 in c35c53729):
x<< 2., 400000., 25000.;
// do the computation
info = lm.minimize(x);
The last line should, I believe, be
which would match the original unit test code that read
(That line is still in the source but commented out @ line 802.)
*** Bug 1198 has been marked as a duplicate of this bug. ***
Summary: Bug 1160: fix and relax some lm unit tests by turning faillures to warnings
This appears to still fail when compiled with AVX (or FMA):
This is perhaps caused by slightly different results in computing the norms of vectors (i.e., the order of addition is not exactly the same).
Generally, I think we should avoid hard-coded unit-tests.
yes, we should turn all tests like:
into warning and relax the hard checks so that we don't miss obvious regressions, but I don't have time to update them all...
Created attachment 698 [details]
Test #653: levenberg_marquardt failed
I am facing a same issue, see attached file.
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1160.