From 0346fe4df7be52a674d9fc25b1ab9a9145886019 Mon Sep 17 00:00:00 2001 From: Fredrik Johansson Date: Fri, 13 Oct 2017 23:57:55 +0200 Subject: [PATCH] slight tuning of cutoff parameters --- arb_hypgeom/legendre_p_ui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arb_hypgeom/legendre_p_ui.c b/arb_hypgeom/legendre_p_ui.c index b91df560..c7982d6e 100644 --- a/arb_hypgeom/legendre_p_ui.c +++ b/arb_hypgeom/legendre_p_ui.c @@ -146,12 +146,12 @@ arb_hypgeom_legendre_p_ui(arb_t res, arb_t res_prime, ulong n, const arb_t x, sl basecase_ok = ((xx < 0.999999 && n < 10 && prec < 2000) || (xx < 0.999999 && n < 50 && prec < 1000) || (xx < 0.9999 && n < 100 && prec < 1000) || - (xx < 0.999 && n < 300 && prec < 1000) || - (xx < 0.9 && n < 300 && prec < 600)) + (xx < 0.999 && n < 350 && prec < 1000) || + (xx < 0.9 && n < 400 && prec < 1000)) && ((xx > 0.00001 && n < 10 && prec < 2000) || (xx > 0.00001 && n < 60 && prec < 1000) || (xx > 0.01 && n < 200 && prec < 1000) || - (xx > 0.1 && n < 300 && prec < 1000)); + (xx > 0.1 && n < 400 && prec < 1000)); } else if (prec < 500) {