Mercurial > hg > octave-lyh
diff scripts/general/structfun.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 | a4f482e66b65 |
children | c776f063fefe |
line wrap: on
line diff
--- a/scripts/general/structfun.m +++ b/scripts/general/structfun.m @@ -140,6 +140,6 @@ %! s = struct ("a", {1, 2, 3}, "b", {4, 5, 6}); %! c = struct ("a", {2, 4, 6}, "b", {8, 10, 12}); %! d = struct ("a", {1, 4, 9}, "b", {16, 25, 36}); -%! [aa, bb] = structfun(@twoouts, s, "uniformoutput", false); +%! [aa, bb] = structfun(@twoouts, s, "UniformOutput", false); %! assert(aa, c); %! assert(bb, d);