mirror of
https://github.com/vale981/arb
synced 2025-03-04 08:51:40 -05:00
fix a minor bug in hypgeom_m (nan result only setting real part to nan)
This commit is contained in:
parent
01cf6c9f53
commit
c0965c3733
1 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,11 @@ acb_hypgeom_m_asymp(acb_t res, const acb_t a, const acb_t b, const acb_t z, int
|
|||
if (!regularized)
|
||||
{
|
||||
acb_gamma(v, b, prec);
|
||||
acb_mul(t, t, v, prec);
|
||||
|
||||
if (acb_is_finite(v))
|
||||
acb_mul(t, t, v, prec);
|
||||
else
|
||||
acb_indeterminate(t);
|
||||
}
|
||||
|
||||
if (acb_is_real(a) && acb_is_real(b) && acb_is_real(z))
|
||||
|
|
Loading…
Add table
Reference in a new issue