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
beta(x,y) does not currently support complex arguments, because it calls the Base.Math.lgamma_r function, which only supports real arguments, rather than lgamma, which takes complex arguments.
Seems like an easy fix to extend lgamma_r to complex arguments. Since lgamma for complex arguments does not take an absolute value, it seems like we could just define a fallback lgamma_r(z::Number) = lgamma(z), 1
beta(x,y)
does not currently support complex arguments, because it calls theBase.Math.lgamma_r
function, which only supports real arguments, rather thanlgamma
, which takes complex arguments.Seems like an easy fix to extend
lgamma_r
to complex arguments. Sincelgamma
for complex arguments does not take an absolute value, it seems like we could just define a fallbacklgamma_r(z::Number) = lgamma(z), 1
This also relevant to #14165.
The text was updated successfully, but these errors were encountered: