diff options
author | Joseph Graham <joseph@xylon.me.uk> | 2017-05-27 21:42:29 +0100 |
---|---|---|
committer | Joseph Graham <joseph@xylon.me.uk> | 2017-05-27 21:42:29 +0100 |
commit | b816aaef5b8ceb4d7e759269f6f07a976088956a (patch) | |
tree | d5661f825f70fcf33c096b313083d746ce343923 /libre/sagemath/increase-rtol.patch | |
parent | 2a45acc36fa62614f5df23291f8c0cb2eddf0b05 (diff) | |
parent | 07bf85aca2541586275cd957b40e2fcb50310b7c (diff) | |
download | abslibre-b816aaef5b8ceb4d7e759269f6f07a976088956a.tar.gz abslibre-b816aaef5b8ceb4d7e759269f6f07a976088956a.tar.bz2 abslibre-b816aaef5b8ceb4d7e759269f6f07a976088956a.zip |
Merge branch 'master' of git://git.parabola.nu/abslibre/abslibre
Diffstat (limited to 'libre/sagemath/increase-rtol.patch')
-rw-r--r-- | libre/sagemath/increase-rtol.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/libre/sagemath/increase-rtol.patch b/libre/sagemath/increase-rtol.patch deleted file mode 100644 index dc0ff8799..000000000 --- a/libre/sagemath/increase-rtol.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -ru sage-7.3.orig/src/sage/coding/code_bounds.py sage-7.3/src/sage/coding/code_bounds.py ---- sage-7.3.orig/src/sage/coding/code_bounds.py 2016-08-05 20:26:10.033204091 +0200 -+++ sage-7.3/src/sage/coding/code_bounds.py 2016-08-05 20:32:27.276579565 +0200 -@@ -554,7 +554,7 @@ - if q < 2: # Here we check that q is actually at least 2 - raise ValueError("The value q must be an integer greater than 1") - -- eps = 4.5e-16 # find_root has about this as the default xtol -+ eps = 4.5e-15 # find_root has about this as the default xtol - ymax = 1 - 1/q - if x <= eps: - return 0 -diff -ru sage-7.3.orig/src/sage/numerical/optimize.py sage-7.3/src/sage/numerical/optimize.py ---- sage-7.3.orig/src/sage/numerical/optimize.py 2016-08-05 20:26:10.816536625 +0200 -+++ sage-7.3/src/sage/numerical/optimize.py 2016-08-05 20:32:21.449907130 +0200 -@@ -15,7 +15,7 @@ - from sage.rings.real_double import RDF - - --def find_root(f, a, b, xtol=10e-13, rtol=4.5e-16, maxiter=100, full_output=False): -+def find_root(f, a, b, xtol=10e-13, rtol=4.5e-15, maxiter=100, full_output=False): - """ - Numerically find a root of ``f`` on the closed interval `[a,b]` - (or `[b,a]`) if possible, where ``f`` is a function in the one variable. -diff -ru sage-7.3.orig/src/sage/symbolic/expression.pyx sage-7.3/src/sage/symbolic/expression.pyx ---- sage-7.3.orig/src/sage/symbolic/expression.pyx 2016-08-05 20:26:11.333202767 +0200 -+++ sage-7.3/src/sage/symbolic/expression.pyx 2016-08-05 20:32:14.236566826 +0200 -@@ -10884,7 +10884,7 @@ - ret = ret[0] - return ret - -- def find_root(self, a, b, var=None, xtol=10e-13, rtol=4.5e-16, maxiter=100, full_output=False): -+ def find_root(self, a, b, var=None, xtol=10e-13, rtol=4.5e-15, maxiter=100, full_output=False): - """ - Numerically find a root of self on the closed interval [a,b] (or - [b,a]) if possible, where self is a function in the one variable. - |