Mercurial > hg > octave-nkf
diff scripts/general/shift.m @ 11149:fe3c3dfc07eb
style fix: break lines before && and ||, not after
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 23 Oct 2010 03:00:31 -0400 |
parents | 35adf2a71f3f |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/general/shift.m +++ b/scripts/general/shift.m @@ -46,8 +46,8 @@ sz = size (x); if (nargin == 3) - if (!(isscalar (dim) && dim == round (dim)) || - !(1 <= dim && dim <= nd)) + if (!(isscalar (dim) && dim == round (dim)) + || !(1 <= dim && dim <= nd)) error ("shift: DIM must be an integer and a valid dimension"); endif else