Mercurial > octave-nkf
diff scripts/statistics/distributions/trnd.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 | be55736a0783 |
children | 1740012184f9 |
line wrap: on
line diff
--- a/scripts/statistics/distributions/trnd.m Sat Oct 23 02:31:08 2010 -0400 +++ b/scripts/statistics/distributions/trnd.m Sat Oct 23 03:00:31 2010 -0400 @@ -42,8 +42,8 @@ endif sz = [r, c]; - if (any (size (n) != 1) && - ((length (size (n)) != length (sz)) || any (size (n) != sz))) + if (any (size (n) != 1) + && ((length (size (n)) != length (sz)) || any (size (n) != sz))) error ("trnd: n must be scalar or of size sz"); endif elseif (nargin == 2) @@ -55,8 +55,8 @@ error ("trnd: r must be a positive integer or vector"); endif - if (any (size (n) != 1) && - ((length (size (n)) != length (sz)) || any (size (n) != sz))) + if (any (size (n) != 1) + && ((length (size (n)) != length (sz)) || any (size (n) != sz))) error ("trnd: n must be scalar or of size sz"); endif elseif (nargin == 1)