-
Notifications
You must be signed in to change notification settings - Fork 230
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
Fix assertions and fenv errors in beta distribution #1009
Conversation
On Apple M1 the python trace does not hit the assertion but gives the same overflow error in both cases:
|
Hey @mborland thought I'd check in about this one. Looks like it hit a snag? Should we add a workaround in the meantime? |
I am going to defer to @jzmaddock on this one since he found additional issues with the beta implementation in a different PR. I'd rather not break things he's already looking at. |
Thanks Matt, just looking at this now, and struggling to reproduce with MSVC: like you I see some exception flags being set, but the line mentioned in the assertion is never called much less triggered :( |
Also this fixed some issues in this area: #961 |
Closed via #1026 |
I was able to reproduce the error in python using the script from #1006. The assertion was not triggered using the same template parameters in C++, but the fenv flags are being set. Below is the diagnostic data from
BOOST_MATH_INSTRUMENT