[gnumeric] Import R's bessel functions static.



commit 5013e793334e692b7fcddf7df1ffa9b6ee977a49
Author: Morten Welinder <terra gnome org>
Date:   Wed Aug 28 15:29:29 2013 -0400

    Import R's bessel functions static.

 tools/import-R |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/import-R b/tools/import-R
index 7c050fe..035b4ae 100644
--- a/tools/import-R
+++ b/tools/import-R
@@ -154,7 +154,7 @@ sub import_file {
            s~([-+]?\d+\.\d*)(\s*/\s*)([-+e0-9.]+)~GNM_const\($1\)$2$3~;
 
            # These are made static.
-           
s/^gnm_float\s+(pbeta_both|bd0|dpois_raw|chebyshev_eval|lgammacor|lbeta|pbeta_raw|dbinom_raw|bessel_j_ex|bessel_y_ex)/static
 gnm_float $1/;
+           
s/^gnm_float\s+(pbeta_both|bd0|dpois_raw|chebyshev_eval|lgammacor|lbeta|pbeta_raw|dbinom_raw|bessel_[ijky]|bessel_[jy]_ex)\b/static
 gnm_float $1/;
            s/^int\s+(chebyshev_init)/static int $1/;
 
            # Fix a bug...


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