[Pkg-octave-commit] [octave-symbolic] 01/01: fix-symfsolve-test.patch: New patch

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Sun Sep 28 07:57:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

rlaboiss-guest pushed a commit to branch master
in repository octave-symbolic.

commit 0dc9537194de6d81d83da2bdf7dec2f5b4490107
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sat Sep 27 21:10:09 2014 -0300

    fix-symfsolve-test.patch: New patch
---
 debian/patches/fix-symfsolve-test.patch | 17 +++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/fix-symfsolve-test.patch b/debian/patches/fix-symfsolve-test.patch
new file mode 100644
index 0000000..bd389a9
--- /dev/null
+++ b/debian/patches/fix-symfsolve-test.patch
@@ -0,0 +1,17 @@
+Description: Fix test in symfsolve
+ For some reason that I do not understand, the last test in symfsolve
+ is giving now (with Octave 3.8.2) a different result from what it
+ used to give before, even though the solution that is found is fully
+ valid.  This is perhaps due to changes in the fsolve function.
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Forwarded: https://savannah.gnu.org/bugs/?43311
+Last-Update: 2014-09-28
+
+--- a/inst/symfsolve.m
++++ b/inst/symfsolve.m
+@@ -163,4 +163,4 @@
+ %!assert (symfsolve (f, g, x, 1, y, 5), [0.30278; 1.89004]', 1e-5);
+ %!assert (symfsolve (f, g, {x==1,y==5}), [0.30278; 1.89004]', 1e-5);
+ %!assert (symfsolve (f, g, [1 5]), [0.30278; 1.89004]', 1e-5);
+-%!assert (symfsolve ({f, g}, {y==1,x==2}), [1.89004; 0.30278]', 1e-5);
++%!assert (symfsolve ({f, g}, {y==1,x==2}), [-1.58727; 0.30278]', 1e-5);
diff --git a/debian/patches/series b/debian/patches/series
index 9c620b2..dbca15b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ store-symbolic-expressions.patch
 fix-tests-blocks.patch
 sumterms-return-cell-vector.patch
 avoid-ex-type-in-assert.patch
+fix-symfsolve-test.patch

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-symbolic.git



More information about the Pkg-octave-commit mailing list