summaryrefslogtreecommitdiff
path: root/numpy/matlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/matlib.py')
-rw-r--r--numpy/matlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/matlib.py b/numpy/matlib.py
index 43bed3eb5..6728cdb2f 100644
--- a/numpy/matlib.py
+++ b/numpy/matlib.py
@@ -46,6 +46,6 @@ def rand(*args):
def randn(*args):
if isinstance(args[0], tuple):
args = args[0]
- return asmatrix(N.random.rand(*args))
+ return asmatrix(N.random.randn(*args))