Mercurial > hg > octave-lyh
comparison scripts/general/accumdim.m @ 15202:f3b5cadfd6d5
fix missing semicolons in various .m files
* playaudio.m, accumarray.m, accumdim.m, bicubic.m, narginchk.m,
nargoutchk.m, nthargout.m, image.m, pkg.m, colorbar.m, hdl2struct.m,
legend.m, plotyy.m, private/__go_draw_axes__.m,
private/__print_parse_opts__.m, shrinkfaces.m, pchip.m, polyval.m,
rundemos.m: Fix lines with missing semicolons.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 19 Aug 2012 10:50:40 -0400 |
parents | f3d52523cde1 |
children | 65546674d336 |
comparison
equal
deleted
inserted
replaced
15201:efac5593b1de | 15202:f3b5cadfd6d5 |
---|---|
91 sz(end+1:dim) = 1; | 91 sz(end+1:dim) = 1; |
92 endif | 92 endif |
93 sz(dim) = n; | 93 sz(dim) = n; |
94 | 94 |
95 if (length (subs) != size (vals, dim)) | 95 if (length (subs) != size (vals, dim)) |
96 error ("accumdim: dimension mismatch") | 96 error ("accumdim: dimension mismatch"); |
97 endif | 97 endif |
98 | 98 |
99 if (isempty (func) || func == @sum) | 99 if (isempty (func) || func == @sum) |
100 ## Fast summation case. | 100 ## Fast summation case. |
101 A = __accumdim_sum__ (subs, vals, dim, n); | 101 A = __accumdim_sum__ (subs, vals, dim, n); |