Mercurial > hg > octave-lyh
diff scripts/statistics/distributions/binornd.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | 3306cfcb856e |
children | be55736a0783 |
line wrap: on
line diff
--- a/scripts/statistics/distributions/binornd.m +++ b/scripts/statistics/distributions/binornd.m @@ -37,7 +37,7 @@ if (!isscalar(n) || !isscalar(p)) [retval, n, p] = common_size (n, p); if (retval > 0) - error ("binornd: n and p must be of common size or scalar"); + error ("binornd: n and p must be of common size or scalar"); endif endif endif @@ -52,7 +52,7 @@ sz = [r, c]; if (any (size (n) != 1) - && (length (size (n)) != length (sz) || any (size (n) != sz))) + && (length (size (n)) != length (sz) || any (size (n) != sz))) error ("binornd: n and must be scalar or of size [r, c]"); endif elseif (nargin == 3) @@ -65,7 +65,7 @@ endif if (any (size (n) != 1) - && (length (size (n)) != length (sz) || any (size (n) != sz))) + && (length (size (n)) != length (sz) || any (size (n) != sz))) error ("binornd: n and must be scalar or of size sz"); endif elseif (nargin == 2)