[Pkg-octave-commit] [SCM] Debian packaging for octave-tsa branch, master, updated. 133ec7bc2aea0c723ea4f4a9bd2230f0748a3db9

Rafael Laboissiere rafael at laboissiere.net
Tue Mar 27 21:21:39 UTC 2012


The following commit has been merged in the master branch:
commit 3765c28d851d51b8e8c8108d572affa12a4ba3b7
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Tue Mar 27 09:26:42 2012 +0200

    debian/check.m: Redefine input() instead of dispatching it
    
    dispatch() is a deprecated function in Octave 3.6.

diff --git a/debian/check.m b/debian/check.m
index 34403c7..dddd505 100644
--- a/debian/check.m
+++ b/debian/check.m
@@ -6,14 +6,12 @@ figure (1, "visible", "off");
 global demos
 global count
 
-function retval = input_number ()
+function retval = input ()
   global demos
   global count
   retval = num2str (demos (count++));
 endfunction
 
-dispatch ("input", "input_number", "any");
-
 demos = [1 : 7, 1 : 7, 8 : 15];
 count = 1;
 tsademo;

-- 
Debian packaging for octave-tsa



More information about the Pkg-octave-commit mailing list