Hi,

In latest version of general package (1.2.0), and in the svn repository,
there are a bug in parcellfun. When we put only on argument, it will
compare its size with itself, and common_size() needs at least 2
arguments.

So I propose a patch.

-- 
Jean-Benoist Leger
--- old_parcellfun.m	2010-03-11 11:48:50.298403824 +0100
+++ parcellfun.m	2010-03-11 11:54:09.542651155 +0100
@@ -93,7 +93,7 @@
 
   if (length (args) == 0)
     print_usage ();
-  else
+  elseif (length (args) > 1)
     [err, args{:}] = common_size (args{:});
     if (err)
       error ("parcellfun: arguments size must match");

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to