-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are all tests expected to pass? #37
Comments
Take a look at the difference with the reference file https://github.com/devernay/cminpack/blob/master/examples/ref/tlmdifc.ref . |
For other architectures (aarch64, ppc64le, ...) every second test fails due to numeric differences. |
Yes, this is a known issue, feel free to contribute a better est validation that using |
I've been experimenting with numdiff, it's not ideal either. Let's say that the tests are supposed to pass on CI platforms, but on your own machine YMMV, especially if you use BLAS. |
There is a better MINPACK test suite in https://github.com/cbouilla/minpack-1.1 (see cbouilla/minpack-1.1#1) |
I've simply cloned the repo (master & v1.3.6) and used CMake to build and run the tests. But one test fails on consistently on all platforms (Linux, Mac, Windows). I could not find any open issues about a failing test therefore I thought I'd ask whether this is known and/or to be expected.
Steps to reproduce:
Clone repository and change to project's root folder. In this folder run:
Result:
The test output written to
build/examples/tlmdifc.out
is:These results are from a run on Ubuntu Bionic amd64 but the very same test also failed for me on Mac and Windows.
The text was updated successfully, but these errors were encountered: