summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorGuillaume Gautier <guillaume.gga@gmail.com>2018-11-07 12:07:08 +0100
committerGitHub <noreply@github.com>2018-11-07 12:07:08 +0100
commitcf3aaf90286f798fd0d017453e2671e4d60071ac (patch)
tree87bc56a4fad5a04b300251aff7a4a27b6ee9ee01 /numpy
parentc41c0115ddcce9d0ad99349807d2f84e1fff6d85 (diff)
downloadnumpy-cf3aaf90286f798fd0d017453e2671e4d60071ac.tar.gz
Fix typo in docstring numpy.random.beta doc
$\Beta(a,b)$ with a,b > 0 not >= See https://en.wikipedia.org/wiki/Beta_distribution
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/mtrand/mtrand.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx
index 6b054a20f..e395e9968 100644
--- a/numpy/random/mtrand/mtrand.pyx
+++ b/numpy/random/mtrand/mtrand.pyx
@@ -1679,9 +1679,9 @@ cdef class RandomState:
Parameters
----------
a : float or array_like of floats
- Alpha, non-negative.
+ Alpha, positive (>0).
b : float or array_like of floats
- Beta, non-negative.
+ Beta, positive (>0).
size : int or tuple of ints, optional
Output shape. If the given shape is, e.g., ``(m, n, k)``, then
``m * n * k`` samples are drawn. If size is ``None`` (default),