summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime <jaime.frio@gmail.com>2015-03-26 12:14:24 -0700
committerJaime <jaime.frio@gmail.com>2015-03-26 12:14:24 -0700
commita4cd4744c08f84c624c34ff8bd1aff248ede64a8 (patch)
tree7180a5c34e25db6fd0ce5145710d2fef471f4f67
parent1f6e7cc470c6d5af23b2467863f42108e6c5f545 (diff)
parentc0c6690d0cdfe820d14d5d8520ddd999c32a156a (diff)
downloadnumpy-a4cd4744c08f84c624c34ff8bd1aff248ede64a8.tar.gz
Merge pull request #5723 from ContinuumIO/rand-docs
DOC: Covariance matrix should be symmetric
-rw-r--r--numpy/random/mtrand/mtrand.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx
index 703e9ec28..42721e762 100644
--- a/numpy/random/mtrand/mtrand.pyx
+++ b/numpy/random/mtrand/mtrand.pyx
@@ -4295,7 +4295,7 @@ cdef class RandomState:
Examples
--------
>>> mean = (1, 2)
- >>> cov = [[1, 0], [1, 0]]
+ >>> cov = [[1, 0], [0, 1]]
>>> x = np.random.multivariate_normal(mean, cov, (3, 3))
>>> x.shape
(3, 3, 2)