diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-03-15 09:29:30 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-03-15 09:29:30 +0000 |
commit | abe1567d970117ed9a3634c10c843da2e3399f60 (patch) | |
tree | 47496f919fafa3bd96d7f6ae8f0c0f083d85eb95 /numpy/core/oldnumeric.py | |
parent | 24cd77be0d56b1a98424d4f31aa58b506c4598e0 (diff) | |
download | numpy-abe1567d970117ed9a3634c10c843da2e3399f60.tar.gz |
Fix-up name-spaces.
Diffstat (limited to 'numpy/core/oldnumeric.py')
-rw-r--r-- | numpy/core/oldnumeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/oldnumeric.py b/numpy/core/oldnumeric.py index 801d71295..4531a1056 100644 --- a/numpy/core/oldnumeric.py +++ b/numpy/core/oldnumeric.py @@ -514,7 +514,7 @@ def alen(a): try: return len(a) except TypeError: - return len(atleast_1d(a)) + return len(array(a,ndmin=1)) def prod(a, axis=0, dtype=None): """Return the product of the elements along the given axis |