diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2020-06-08 07:39:54 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 07:39:54 -0600 |
commit | ee60cc9164e5a20b98ee6722e25b0df41e411675 (patch) | |
tree | 3e978f1158eff35ac483c865e900fe9561964464 /numpy/random | |
parent | 5451fcb06d5ae7cd3f4a9a02314d6e574bd4c83c (diff) | |
parent | 47fc2bfb95c08ad842263c5f56e0caf59ab6918d (diff) | |
download | numpy-ee60cc9164e5a20b98ee6722e25b0df41e411675.tar.gz |
Merge pull request #16510 from madphysicist/patch-1
DOC: Minor rounding correction in Generator.binomial
Diffstat (limited to 'numpy/random')
-rw-r--r-- | numpy/random/_generator.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx index 2e54dce5f..2140ec4c3 100644 --- a/numpy/random/_generator.pyx +++ b/numpy/random/_generator.pyx @@ -2779,7 +2779,7 @@ cdef class Generator: generate zero positive results. >>> sum(rng.binomial(9, 0.1, 20000) == 0)/20000. - # answer = 0.38885, or 38%. + # answer = 0.38885, or 39%. """ |