You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible for some integrals (and some scalar types), the tanh_sinh quadrature method underflows an unsigned integer, resulting in undefined behavior.
where max_left_index/max_right_index may go to zero if the function being integrated overflows the FP type being used across nearly all of it's range. Fixes#898
Description
It is possible for some integrals (and some scalar types), the tanh_sinh quadrature method underflows an unsigned integer, resulting in undefined behavior.
Steps to reproduce
See an example where the https://godbolt.org/z/5seaesETo
The integer underflow occurs on this line when
max_left_position
is 0.The text was updated successfully, but these errors were encountered: