Mercurial > hg > octave-lyh
diff scripts/linear-algebra/cross.m @ 5775:ace8d8d26933
[project @ 2006-04-24 19:13:06 by jwe]
author | jwe |
---|---|
date | Mon, 24 Apr 2006 19:13:11 +0000 |
parents | ebe5d7d15522 |
children | 500d884ae373 |
line wrap: on
line diff
--- a/scripts/linear-algebra/cross.m +++ b/scripts/linear-algebra/cross.m @@ -46,7 +46,7 @@ endif if (ndims (x) < 3 && ndims (y) < 3 && nargin < 3) - ## XXX COMPATIBILITY XXX opposite behaviour for cross(row,col) + ## COMPATIBILITY -- opposite behaviour for cross(row,col) ## Swap x and y in the assignments below to get the matlab behaviour. ## Better yet, fix the calling code so that it uses conformant vectors. if (columns (x) == 1 && rows (y) == 1)