summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-09-21 15:54:11 -0700
committerGitHub <noreply@github.com>2021-09-21 15:54:11 -0700
commit66d33faabf1f19d4b192c38e927dfa727b0ed61f (patch)
treef657cee2e071c1394f993abf9f1b3a18504414c6 /numpy/random
parenta838abe68ce6bf8164c31cc35a2ac8d5485754ec (diff)
parent83960267dc097742cb67ef575504afa56f82b102 (diff)
downloadnumpy-66d33faabf1f19d4b192c38e927dfa727b0ed61f.tar.gz
Merge pull request #19911 from DimitriPapadopoulos/codespell
DOC: Typos found by codespell
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/_generator.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx
index 60b6bfc72..8db1f0269 100644
--- a/numpy/random/_generator.pyx
+++ b/numpy/random/_generator.pyx
@@ -3624,7 +3624,7 @@ cdef class Generator:
from numpy.linalg import cholesky
l = cholesky(cov)
- # make sure check_valid is ignored whe method == 'cholesky'
+ # make sure check_valid is ignored when method == 'cholesky'
# since the decomposition will have failed if cov is not valid.
if check_valid != 'ignore' and method != 'cholesky':
if check_valid != 'warn' and check_valid != 'raise':