Mercurial > hg > octave-nkf
diff scripts/polynomial/polyval.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 | 5d3a684236b0 |
children | 36dba9be680b |
line wrap: on
line diff
--- a/scripts/polynomial/polyval.m +++ b/scripts/polynomial/polyval.m @@ -79,10 +79,10 @@ dy = reshape (dy, size (x)); catch if (isempty (s)) - error ("polyval: third input is required.") + error ("polyval: third input is required."); elseif (isstruct (s) && all (ismember ({"R", "normr", "df"}, fieldnames (s)))) - error (lasterr ()) + error (lasterr ()); elseif (isstruct (s)) error ("polyval: third input is missing the required fields."); else