summaryrefslogtreecommitdiff
path: root/gsl-tol.patch
blob: 07fed0bda4599f7089c5b19de729f31fc8ebc8e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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,