summaryrefslogtreecommitdiff
path: root/scipy/base/oldnumeric.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-10-02 03:51:44 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-10-02 03:51:44 +0000
commitfb0ceff29f606d51c396521f8bee36d414e1cca4 (patch)
treefaaa6aef79ea6ddeb4ad6ee9ee8b96ee20223c67 /scipy/base/oldnumeric.py
parent0e1c0c01b93cfd521dbce975b1cd28517d2f151f (diff)
downloadnumpy-fb0ceff29f606d51c396521f8bee36d414e1cca4.tar.gz
Fixes by Eric Firing..
Diffstat (limited to 'scipy/base/oldnumeric.py')
-rw-r--r--scipy/base/oldnumeric.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scipy/base/oldnumeric.py b/scipy/base/oldnumeric.py
index 3831143e6..6f821e88b 100644
--- a/scipy/base/oldnumeric.py
+++ b/scipy/base/oldnumeric.py
@@ -188,6 +188,9 @@ def resize(a, new_shape):
"""resize(a,new_shape) returns a new array with the specified shape.
The original array's total size can be any size. It
fills the new array with repeated copies of a.
+
+ Note that a.resize(new_shape) will fill array with 0's
+ beyond current definition of a.
"""
a = ravel(a)