diff options
author | Travis Oliphant <oliphant@enthought.com> | 2007-10-26 22:33:14 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2007-10-26 22:33:14 +0000 |
commit | 1f0d060bdf6a5cd18d6f301c22cff0f0d482eed4 (patch) | |
tree | b91ba44d3eedc372eaa177c78e567b4cfd3bc70c /numpy/core/fromnumeric.py | |
parent | 623c64fa473cdea90ef332a1a0b2fe759e3de215 (diff) | |
download | numpy-1f0d060bdf6a5cd18d6f301c22cff0f0d482eed4.tar.gz |
Fix ticket #599
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index ed9a8449c..fa2c6d337 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -35,7 +35,7 @@ def _wrapit(obj, method, *args, **kwds): except AttributeError: wrap = None result = getattr(asarray(obj),method)(*args, **kwds) - if wrap and isinstance(result, mu.ndarray): + if wrap: if not isinstance(result, mu.ndarray): result = asarray(result) result = wrap(result) |