mirror of
https://github.com/vale981/arb
synced 2025-03-05 09:21:38 -05:00
bump default quadrature deg_limit at low precision => speedup for entire functions
This commit is contained in:
parent
d64055fb3f
commit
ee10a84c43
2 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ acb_calc_integrate(acb_t res, acb_calc_func_t f, void * param,
|
|||
goal = FLINT_MAX(goal, 0);
|
||||
deg_limit = options->deg_limit;
|
||||
if (deg_limit <= 0)
|
||||
deg_limit = 0.5 * FLINT_MIN(goal, prec) + 10;
|
||||
deg_limit = 0.5 * FLINT_MIN(goal, prec) + 60;
|
||||
|
||||
verbose = options->verbose;
|
||||
use_heap = options->use_heap;
|
||||
|
|
|
@ -204,7 +204,7 @@ Options for integration
|
|||
|
||||
Maximum quadrature degree for each subinterval.
|
||||
If a zero or negative value is provided, the limit is set to a default
|
||||
value which currently equals `0.5 \cdot \min(prec, rel\_goal) + 10` for
|
||||
value which currently equals `0.5 \cdot \min(prec, rel\_goal) + 60` for
|
||||
Gauss-Legendre quadrature.
|
||||
A higher quadrature degree can be beneficial for functions that
|
||||
are holomorphic on a large domain around the integration path
|
||||
|
|
Loading…
Add table
Reference in a new issue