SF# 1635892: Fix docs for betavariate's input parameters .

This commit is contained in:
Raymond Hettinger 2007-01-19 18:07:18 +00:00
parent 0682a52e31
commit 1b0ce85271
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ these equations can be found in any statistics text.
\begin{funcdesc}{betavariate}{alpha, beta}
Beta distribution. Conditions on the parameters are
\code{\var{alpha} > -1} and \code{\var{beta} > -1}.
\code{\var{alpha} > 0} and \code{\var{beta} > 0}.
Returned values range between 0 and 1.
\end{funcdesc}

View File

@ -569,7 +569,7 @@ class Random(_random.Random):
def betavariate(self, alpha, beta):
"""Beta distribution.
Conditions on the parameters are alpha > -1 and beta} > -1.
Conditions on the parameters are alpha > 0 and beta > 0.
Returned values range between 0 and 1.
"""