diff scripts/general/common_size.m @ 11190:b1f4bdc276b6

Use CamelCase for 'UniformOutput' option to cellfun.
author Rik <octave@nomad.inbox5.com>
date Wed, 03 Nov 2010 17:37:00 -0700
parents 4cb1522e4d0f
children 01ddaedd6ad5
line wrap: on
line diff
--- a/scripts/general/common_size.m	Wed Nov 03 17:28:05 2010 -0700
+++ b/scripts/general/common_size.m	Wed Nov 03 17:37:00 2010 -0700
@@ -72,7 +72,7 @@
         varargout = varargin;
         if (any (nscal))
           dims = size (varargin{find (nscal, 1)});
-          subs = arrayfun (@ones, 1, dims, "uniformoutput", false);
+          subs = arrayfun (@ones, 1, dims, "UniformOutput", false);
           varargout(scal) = cellindexmat (varargin(scal), subs{:});
         endif
       endif