[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 3c0359601015efe33ecccf911a4ce05f012973d0
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sat Mar 10 09:54:18 2012 +0000

    Add patch to adjust call to the impulse function

diff --git a/debian/patches/new-signature-of-impulse-function.patch b/debian/patches/new-signature-of-impulse-function.patch
new file mode 100644
index 0000000..e5dbe0c
--- /dev/null
+++ b/debian/patches/new-signature-of-impulse-function.patch
@@ -0,0 +1,34 @@
+Description: Adjust call to the impulse function
+ The call of the function impulse has changed in release 2.3.50 of the
+ control package.  The tests in impinvar and invimpvar are changed
+ accordingly.
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Last-Update: 2012-03-10
+
+Index: octave-signal/inst/impinvar.m
+===================================================================
+--- octave-signal.orig/inst/impinvar.m	2012-03-10 03:08:56.000000000 +0000
++++ octave-signal/inst/impinvar.m	2012-03-10 03:08:56.000000000 +0000
+@@ -124,7 +124,7 @@
+ %!
+ %!  % calculate impulse response of continuous time system
+ %!  % at discrete time intervals 1/fs
+-%!  ys=impulse(s,1,(n-1)/fs,n);
++%!  ys=impulse(s,(n-1)/fs,1/fs)';
+ %!
+ %!  % impulse response of discrete time system
+ %!  yz=filter(bz,az,[1 zeros(1,n-1)]);
+
+Index: octave-signal/inst/invimpinvar.m
+===================================================================
+--- octave-signal-1.1.2.orig/inst/invimpinvar.m
++++ octave-signal-1.1.2/inst/invimpinvar.m
+@@ -127,7 +127,7 @@ endfunction
+ %!
+ %!  % calculate impulse response of continuous time system
+ %!  % at discrete time intervals 1/fs
+-%!  ys=impulse(s,1,(n-1)/fs,n);
++%!  ys=impulse(s,(n-1)/fs,1/fs)';
+ %!
+ %!  % impulse response of discrete time system
+ %!  yz=filter(bz,az,[1 zeros(1,n-1)]);
diff --git a/debian/patches/series b/debian/patches/series
index d959811..91957b5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 accept-string-as-window-argument.patch
 do-not-use-deprecated-functions.patch
+new-signature-of-impulse-function.patch

-- 
Debian packaging for octave-signal



More information about the Pkg-octave-commit mailing list