diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 15:07:59 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 15:07:59 +0000 |
commit | 26678f8f7770a01c872df11ed050d0b1a8ee6376 (patch) | |
tree | 2ac0d75e4bb34a70a3c4b333bffa26417e413f87 /gsl-tol.patch | |
parent | 1420db38568634fc897d0f99fcb32f3fb3a75994 (diff) |
automatic import of gslopeneuler24.03_LTS
Diffstat (limited to 'gsl-tol.patch')
-rw-r--r-- | gsl-tol.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gsl-tol.patch b/gsl-tol.patch new file mode 100644 index 0000000..07fed0b --- /dev/null +++ b/gsl-tol.patch @@ -0,0 +1,38 @@ +diff -up gsl-2.1/multifit/test_nonlinear.c.tol gsl-2.1/multifit/test_nonlinear.c +--- gsl-2.1/multifit/test_nonlinear.c.tol 2015-11-03 09:21:55.000000000 -0700 ++++ gsl-2.1/multifit/test_nonlinear.c 2015-12-02 17:02:31.710586128 -0700 +@@ -175,8 +175,8 @@ static test_fdf_problem *test_fdf_nist[] + static void + test_nonlinear(void) + { +- const double xtol = pow(GSL_DBL_EPSILON, 0.9); +- const double gtol = pow(GSL_DBL_EPSILON, 0.9); ++ const double xtol = pow(GSL_DBL_EPSILON, 0.9) * 10.0; ++ const double gtol = pow(GSL_DBL_EPSILON, 0.9) * 10.0; + const double ftol = 0.0; + size_t i, j; + +diff -up gsl-2.1/multifit/test_powell1.c.tol gsl-2.1/multifit/test_powell1.c +--- gsl-2.1/multifit/test_powell1.c.tol 2015-11-03 09:21:55.000000000 -0700 ++++ gsl-2.1/multifit/test_powell1.c 2015-12-02 17:05:05.295788606 -0700 +@@ -4,7 +4,7 @@ + #define powell1_NTRIES 4 + + static double powell1_x0[powell1_P] = { 3.0, -1.0, 0.0, 1.0 }; +-static double powell1_epsrel = 1.0e-5; ++static double powell1_epsrel = 2.0e-5; + + static void + powell1_checksol(const double x[], const double sumsq, +diff -up gsl-2.1/multifit/test_powell3.c.tol gsl-2.1/multifit/test_powell3.c +--- gsl-2.1/multifit/test_powell3.c.tol 2015-11-03 09:21:55.000000000 -0700 ++++ gsl-2.1/multifit/test_powell3.c 2015-12-02 17:05:52.299546834 -0700 +@@ -4,7 +4,7 @@ + #define powell3_NTRIES 1 + + static double powell3_x0[powell3_P] = { 0.0, 1.0 }; +-static double powell3_epsrel = 1.0e-12; ++static double powell3_epsrel = 1.0e-8; + + static void + powell3_checksol(const double x[], const double sumsq, |