summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/_generator.pyx8
-rw-r--r--numpy/random/mtrand.pyx8
2 files changed, 8 insertions, 8 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx
index 391987a1e..a3cfeaa4a 100644
--- a/numpy/random/_generator.pyx
+++ b/numpy/random/_generator.pyx
@@ -3572,11 +3572,11 @@ cdef class Generator:
>>> y.shape
(3, 3, 2)
- The following is probably true, given that 0.6 is roughly twice the
- standard deviation:
+ The following is probably true, given that 2.0 is twice the standard
+ deviation of the distribution of each component:
- >>> list((x[0,0,:] - mean) < 0.6)
- [True, True] # random
+ >>> list((x[0,0,:] - mean) < 2.0)
+ [True, True] # random
"""
if method not in {'eigh', 'svd', 'cholesky'}:
diff --git a/numpy/random/mtrand.pyx b/numpy/random/mtrand.pyx
index 3e13503d0..ee124fe17 100644
--- a/numpy/random/mtrand.pyx
+++ b/numpy/random/mtrand.pyx
@@ -4079,11 +4079,11 @@ cdef class RandomState:
>>> x.shape
(3, 3, 2)
- The following is probably true, given that 0.6 is roughly twice the
- standard deviation:
+ The following is probably true, given that 2.0 is twice the standard
+ deviation of the distribution of each component:
- >>> list((x[0,0,:] - mean) < 0.6)
- [True, True] # random
+ >>> list((x[0,0,:] - mean) < 2.0)
+ [True, True] # random
"""
from numpy.linalg import svd