Mercurial > octave
diff scripts/linear-algebra/cross.m @ 21308:c53bfd6d8e08
maint: Use American spelling for "behavior".
* Array.cc, randmtzig.c, file-ops.cc, oct-inttypes.h, cross.m, bicgstab.m,
kurtosis.m, skewness.m, build-sparse-tests.sh, __ilu__.cc, __magick_read__.cc:
Use American spelling for "behavior".
author | Rik <rik@octave.org> |
---|---|
date | Fri, 19 Feb 2016 09:40:59 -0800 |
parents | 516bb87ea72e |
children | bac0d6f07a3e |
line wrap: on
line diff
--- a/scripts/linear-algebra/cross.m Fri Feb 19 09:41:41 2016 -0800 +++ b/scripts/linear-algebra/cross.m Fri Feb 19 09:40:59 2016 -0800 @@ -51,8 +51,8 @@ endif if (ndims (x) < 3 && ndims (y) < 3 && nargin < 3) - ## COMPATIBILITY -- opposite behaviour for cross(row,col) - ## Swap x and y in the assignments below to get the matlab behaviour. + ## COMPATIBILITY -- opposite behavior for cross(row,col) + ## Swap x and y in the assignments below to get the matlab behavior. ## Better yet, fix the calling code so that it uses conformant vectors. if (columns (x) == 1 && rows (y) == 1) warning ("cross: taking cross product of column by row");