Mercurial > hg > octave-nkf
diff scripts/linear-algebra/commutation_matrix.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 | 3140cb7a05a1 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/linear-algebra/commutation_matrix.m +++ b/scripts/linear-algebra/commutation_matrix.m @@ -78,12 +78,12 @@ print_usage (); else if (! (isscalar (m) && m == round (m) && m > 0)) - error ("commutation_matrix: m must be a positive integer"); + error ("commutation_matrix: M must be a positive integer"); endif if (nargin == 1) n = m; elseif (! (isscalar (n) && n == round (n) && n > 0)) - error ("commutation_matrix: n must be a positive integer"); + error ("commutation_matrix: N must be a positive integer"); endif endif