diff options
author | RedRuM <44142765+zoj613@users.noreply.github.com> | 2019-08-20 00:43:35 +0200 |
---|---|---|
committer | RedRuM <44142765+zoj613@users.noreply.github.com> | 2019-08-20 00:43:35 +0200 |
commit | 8b76dbe47c718d732492ab8583377ed3b2f5dc3b (patch) | |
tree | d38bbf4e834bb7998da860c55a05c4f747fa74ab | |
parent | f960491d5636cbf4b4f7978c5cb009739a67b4ad (diff) | |
download | numpy-8b76dbe47c718d732492ab8583377ed3b2f5dc3b.tar.gz |
MAINT: change 'mode' to 'method' in error massage
-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 f7c3b7adc..e7eb5133e 100644 --- a/numpy/random/generator.pyx +++ b/numpy/random/generator.pyx @@ -3465,7 +3465,7 @@ cdef class Generator: """ if method not in {'eigh', 'svd', 'cholesky'}: raise ValueError( - "mode must to be one of {'eigh', 'svd', 'cholesky'}") + "method must to be one of {'eigh', 'svd', 'cholesky'}") # Check preconditions on arguments mean = np.array(mean) |