comparison scripts/statistics/base/statistics.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 cab3b148d4e4
children e151e23f73bc
comparison
equal deleted inserted replaced
11148:c9ec943ebe65 11149:fe3c3dfc07eb
49 dim = find (sz > 1, 1); 49 dim = find (sz > 1, 1);
50 if (isempty (dim)) 50 if (isempty (dim))
51 dim = 1; 51 dim = 1;
52 endif 52 endif
53 else 53 else
54 if (!(isscalar (dim) && dim == round (dim)) || 54 if (!(isscalar (dim) && dim == round (dim))
55 !(1 <= dim && dim <= nd)) 55 || !(1 <= dim && dim <= nd))
56 error ("statistics: DIM must be an integer and a valid dimension"); 56 error ("statistics: DIM must be an integer and a valid dimension");
57 endif 57 endif
58 endif 58 endif
59 59
60 if (sz(dim) < 2) 60 if (sz(dim) < 2)