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
I have found several cases where _3F2 incorrectly returns NaN. For example:
julia> _₃F₂(-9.0, 16.5, 12.5, 29.0, -32.5, 1.0)
NaN
It may be similar to #73 . But I do not see any simple pattern in my cases. The suggestion in that thread to perturb the argument gives the correct results (compared to e.g. Mathematica).
All cases I have found NaNs:
(all evaluated at z=1.0):
Thank you for the bug report! To be brief, I do know how to fix it: it appears to be a pole/pole situation. I will try to get a fix pushed, but don't hold your breath! The epsilon perturbation is a good patch for the moment because the rational approximations are stable in the neighbourhood of a pole/pole (like the barycentric formula).
In case you're wondering how the pole/pole get simplified technically, it just means a careful analysis of the case where μhi is not 1/0. Here's how pole hopping takes place for the 0F0 case. eee6021
I have found several cases where
_3F2
incorrectly returnsNaN
. For example:It may be similar to #73 . But I do not see any simple pattern in my cases. The suggestion in that thread to perturb the argument gives the correct results (compared to e.g. Mathematica).
All cases I have found NaNs:
(all evaluated at
z=1.0
):The text was updated successfully, but these errors were encountered: