diff options
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 |