diff scripts/general/accumarray.m @ 8507:cadc73247d65

style fixes
author John W. Eaton <jwe@octave.org>
date Tue, 13 Jan 2009 14:08:36 -0500
parents b93ac0586e4b
children 89b95972e178
line wrap: on
line diff
--- a/scripts/general/accumarray.m
+++ b/scripts/general/accumarray.m
@@ -60,7 +60,7 @@
   endif
 
   if (iscell (subs))
-    subs = cell2mat (cellfun (@(x) x(:), subs, 'UniformOutput', false));
+    subs = cell2mat (cellfun (@(x) x(:), subs, "UniformOutput", false));
   endif
   ndims = size (subs, 2);
 
@@ -107,7 +107,7 @@
   else
     if (iscell (x))
       ## Why did matlab choose to reverse the order of the elements
-      x = cellfun (@(x) flipud (x(:)), x, 'UniformOutput', false);
+      x = cellfun (@(x) flipud (x(:)), x, "UniformOutput", false);
       A = cell (sz);
     elseif (fillval == 0)
       A = zeros (sz, class (x));