summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-10-07 10:00:52 +0200
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-10-07 10:21:11 +0200
commit8551018184e16dc76cadb05cfaf73985105a3293 (patch)
treebc4b1ff327f4c6b3f835a44a509414a1f9889f81 /numpy/random
parentb347b4d2043ac97af3583b1038f2c02bdadcf3db (diff)
downloadnumpy-8551018184e16dc76cadb05cfaf73985105a3293.tar.gz
MAINT: Fix typos found by codespell
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/_generator.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx
index 6af101ed9..aaf51b385 100644
--- a/numpy/random/_generator.pyx
+++ b/numpy/random/_generator.pyx
@@ -3014,7 +3014,7 @@ cdef class Generator:
intermediate distribution exceeding the max acceptable value of the
``Generator.poisson`` method. This happens when :math:`p` is too low
(a lot of failures happen for every success) and :math:`n` is too big (
- a lot of sucesses are allowed).
+ a lot of successes are allowed).
Therefore, the :math:`n` and :math:`p` values must satisfy the constraint:
.. math:: n\\frac{1-p}{p}+10n\\sqrt{n}\\frac{1-p}{p}<2^{63}-1-10\\sqrt{2^{63}-1},
@@ -4433,7 +4433,7 @@ cdef class Generator:
is shuffled independently of the others. If `axis` is
None, the flattened array is shuffled.
out : ndarray, optional
- If given, this is the destinaton of the shuffled array.
+ If given, this is the destination of the shuffled array.
If `out` is None, a shuffled copy of the array is returned.
Returns