summaryrefslogtreecommitdiff
path: root/numpy/matlib.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-29 17:15:31 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-29 17:15:31 +0000
commit19a94794c106aef993bb2af6a7ea11950e362d0d (patch)
treeac3e83f9359e27e07fece6e13be58560de1bc74a /numpy/matlib.py
parent775a47de7e2f4b039592d614e7ac3fda464975a8 (diff)
downloadnumpy-19a94794c106aef993bb2af6a7ea11950e362d0d.tar.gz
Fix problem with randn in matlib. Acutally add min, max, round, abs to the numpy name-space without over-writing builtins on from numpy import *
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))