[Pkg-octave-commit] [SCM] Debian packaging for octave-signal branch, master, updated. upstream/1.1.2-16-gaee1bc7

Rafael Laboissiere rafael at laboissiere.net
Sat Mar 10 10:11:18 UTC 2012


The following commit has been merged in the master branch:
commit 2f55aedfdb8e51f38cdf653117b74db09f54ea67
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sat Mar 10 09:55:56 2012 +0000

    Add patch for fixing test of the residued function

diff --git a/debian/patches/order-of-vector-in-residued-test.patch b/debian/patches/order-of-vector-in-residued-test.patch
new file mode 100644
index 0000000..7a3e760
--- /dev/null
+++ b/debian/patches/order-of-vector-in-residued-test.patch
@@ -0,0 +1,17 @@
+Description: Fix order od vector in the test of the residued function
+ I do not know why it should be so, but the elements of the expected
+ vectors in a test of the residued function was wrong.
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Last-Update: 2012-03-10
+
+Index: octave-signal/inst/residued.m
+===================================================================
+--- octave-signal.orig/inst/residued.m	2012-03-10 03:22:53.000000000 +0000
++++ octave-signal/inst/residued.m	2012-03-10 03:23:51.000000000 +0000
+@@ -157,5 +157,5 @@
+ %!test 
+ %! B=[1 0 0 0 1]; A=[1 0 0 0 -1];
+ %! [r,p,f,m] = residued(B,A);
+-%! assert({r,p,f,m},{[-1/2;1/2;-j/2;j/2],[-1;1;-j;j],1,[1;1;1;1]},100*eps);
++%! assert({r,p,f,m},{[-j/2;j/2;1/2;-1/2],[-j;j;1;-1],1,[1;1;1;1]},100*eps);
+ %  Verified in maxima: ratsimp(%I/2/(1-%I * d) - %I/2/(1+%I * d)); etc.
diff --git a/debian/patches/series b/debian/patches/series
index 91957b5..b565941 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 accept-string-as-window-argument.patch
 do-not-use-deprecated-functions.patch
 new-signature-of-impulse-function.patch
+order-of-vector-in-residued-test.patch

-- 
Debian packaging for octave-signal



More information about the Pkg-octave-commit mailing list