diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/random/mtrand.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand.pyx b/numpy/random/mtrand.pyx index 6387814c8..b1faa1035 100644 --- a/numpy/random/mtrand.pyx +++ b/numpy/random/mtrand.pyx @@ -948,7 +948,7 @@ cdef class RandomState: raise ValueError("Cannot take a larger sample than " "population when 'replace=False'") elif size < 0: - raise ValueError("negative dimensions are not allowed") + raise ValueError("Negative dimensions are not allowed") if p is not None: if np.count_nonzero(p > 0) < size: |