mirror of
https://github.com/vale981/arb
synced 2025-03-05 09:21:38 -05:00
acb_hypgeom_pfq_series_sum: prefer sum_rs also for larger len, since acb_poly_div_series is faster now (reported by Mark Watkins)
This commit is contained in:
parent
bcf76d07ac
commit
6c3738555d
1 changed files with 2 additions and 4 deletions
|
@ -55,10 +55,8 @@ acb_hypgeom_pfq_series_sum(acb_poly_t s, acb_poly_t t,
|
|||
}
|
||||
|
||||
/* Prefer RS with small coefficients in parameters, large coefficients
|
||||
in z. This only makes sense right now with len <= 2 due to the way
|
||||
acb_poly_div_series works; in the future, it could be used for
|
||||
slightly larger len. */
|
||||
if (len <= 2 && prec > 900 && abits < prec * 0.1 && zbits > prec * 0.1)
|
||||
in z. TODO: tune for larger len? */
|
||||
if (len <= 5 && prec > 900 && abits < prec * 0.1 && zbits > prec * 0.1)
|
||||
{
|
||||
acb_hypgeom_pfq_series_sum_rs(s, t, a, p, b, q, z,
|
||||
regularized, n, len, prec);
|
||||
|
|
Loading…
Add table
Reference in a new issue