Mercurial > hg > octave-nkf
diff scripts/general/interpn.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | a4f482e66b65 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/general/interpn.m +++ b/scripts/general/interpn.m @@ -92,7 +92,7 @@ if (nargs == 2) m = varargin{2}; if (! isnumeric (m) || ! isscalar (m) || floor (m) != m) - error ("interpn: m is expected to be a integer scalar"); + error ("interpn: M is expected to be a integer scalar"); endif endif sz = size (v); @@ -199,7 +199,7 @@ elseif (strcmp (method, "cubic")) error ("interpn: cubic interpolation not yet implemented"); else - error ("interpn: unrecognized interpolation method"); + error ("interpn: unrecognized interpolation METHOD"); endif endfunction