-
Notifications
You must be signed in to change notification settings - Fork 226
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
Quantile for skew_normal returns invalid value #184
Comments
I just ran your code on develop, with both g++-8 and Apple clang. I get:
Could you clone the |
I can reproduce, it's a numerical instability that triggers a bug in the Newton-Raphson code, I'm just not sure at present if this is a one off or part of a larger issue... |
Test project: https://github.com/yurybura/test1 |
I can also confirm and that it goes wrong before or here
at iteration down to 192 (from a very large max_iterations estimate of 200 - is this right? but I am not expert enough to see why and how to correct it. |
Fixed in develop in the commit referenced above. |
Issue is returned in Boost 1.84.0.
|
Confirmed, though strangely the cause is different this time. Things to check and improve:
|
OK, ignore (1) and (2), this got reverted as part of #1002 which was evidently a bad idea. (3) and (4) we should still look at. |
Apply error handling more rigorously to any root finding client. Mark evaluation_error's as not reachable for code coverage. Fixes #184.
This should now be fixed again, with better testing this time! |
Code example:
Result on Windows 10 + MSVC 19.16.27026.1 + Boost 1.67.0:
Result on Windows 10 + MSVC 19.16.27026.1 + Boost 1.69.0:
The text was updated successfully, but these errors were encountered: