[gnumeric] BESSELY: Another minor adjust of phase algorithm domain.



commit 81d5e56aee4fa09edb1c83c8c61a26913d617e57
Author: Morten Welinder <terra gnome org>
Date:   Thu Jul 6 20:43:02 2017 -0400

    BESSELY: Another minor adjust of phase algorithm domain.

 src/sf-bessel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/sf-bessel.c b/src/sf-bessel.c
index fe19e0c..2494a3e 100644
--- a/src/sf-bessel.c
+++ b/src/sf-bessel.c
@@ -2412,6 +2412,8 @@ bessel_jy_phase_domain (gnm_float x, gnm_float nu)
        if (anu < 2)
                return ax > 1000000;
 
+       if (ax < 20)
+               return anu < ax / 5;
        if (ax < 30)
                return anu < ax / 3;
        if (ax < 50)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]