Mercurial > octave-antonio
diff scripts/specfun/beta.m @ 8664:e07e93c04080
style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Feb 2009 10:56:23 -0500 |
parents | 81d6ab3ac93c |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/scripts/specfun/beta.m Wed Feb 04 16:05:01 2009 +0100 +++ b/scripts/specfun/beta.m Wed Feb 04 10:56:23 2009 -0500 @@ -46,11 +46,11 @@ endif if (any (size (a) != size (b)) && numel (a) != 1 && numel (b) != 1) - error ("beta: inputs have inconsistent sizes.") + error ("beta: inputs have inconsistent sizes"); endif if (! isreal (a) || ! isreal (b)) - error ("beta: inputs must be real.") + error ("beta: inputs must be real"); endif retval = real (exp (gammaln (a) + gammaln (b) - gammaln (a+b)));