diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2007-01-08 21:56:54 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2007-01-08 21:56:54 +0000 |
commit | 1bd2d49ef378fb869d015cef32c3e44a4c03a8f0 (patch) | |
tree | 43335baf1da0b6e9de0ad806e721a077e3cbfa45 /numpy/matlib.py | |
parent | 98b6d48b07f4eadfb7d1fc41483debe7e07eecd6 (diff) | |
download | numpy-1bd2d49ef378fb869d015cef32c3e44a4c03a8f0.tar.gz |
Whitespace cleanup.
Diffstat (limited to 'numpy/matlib.py')
-rw-r--r-- | numpy/matlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/matlib.py b/numpy/matlib.py index 6035f394f..a4720bc3c 100644 --- a/numpy/matlib.py +++ b/numpy/matlib.py @@ -12,7 +12,7 @@ def empty(shape, dtype=None, order='C'): """return an empty matrix of the given shape """ return ndarray.__new__(matrix, shape, dtype, order=order) - + def ones(shape, dtype=None, order='C'): """return a matrix initialized to all ones """ @@ -23,7 +23,7 @@ def ones(shape, dtype=None, order='C'): def zeros(shape, dtype=None, order='C'): """return a matrix initialized to all zeros """ - a = ndarray.__new__(matrix, shape, dtype, order=order) + a = ndarray.__new__(matrix, shape, dtype, order=order) a.fill(0) return a |