Mercurial > hg > octave-nkf
diff scripts/geometry/rectint.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 | 95c3e38098bf |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/geometry/rectint.m +++ b/scripts/geometry/rectint.m @@ -40,9 +40,9 @@ elseif (ndims (a) != 2 || ndims (b) != 2) error ("rectint: expecting arguments to be 2-d arrays"); elseif (columns (a) != 4) - error ("rectint: a must have 4 columns"); + error ("rectint: A must have 4 columns"); elseif (columns (b) != 4) - error ("rectint: b must have 4 columns"); + error ("rectint: B must have 4 columns"); elseif any ([a(:,3:4);b(:,3:4)](:) < 0) error ("rectint: all widths and heights must be > 0"); endif