Mercurial > octave
diff scripts/statistics/base/mode.m @ 11191:01ddaedd6ad5
Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 04 Nov 2010 12:18:08 -0700 |
parents | fe3c3dfc07eb |
children | e151e23f73bc |
line wrap: on
line diff
--- a/scripts/statistics/base/mode.m Wed Nov 03 17:37:00 2010 -0700 +++ b/scripts/statistics/base/mode.m Thu Nov 04 12:18:08 2010 -0700 @@ -115,7 +115,7 @@ %! [m2, f2, c2] = mode (full (a)); %! assert (m, sparse (m2)); %! assert (f, sparse (f2)); -%! assert (c, cellfun (@(x) sparse (0), c2, 'UniformOutput', false)); +%! assert (c, cellfun (@(x) sparse (0), c2, 'uniformoutput', false)); %!assert(mode([2,3,1,2,3,4],1),[2,3,1,2,3,4]) %!assert(mode([2,3,1,2,3,4],2),2)