[Numpy-svn] r4317 - trunk/numpy/core

numpy-svn@scip... numpy-svn@scip...
Fri Oct 26 17:33:18 CDT 2007


Author: oliphant
Date: 2007-10-26 17:33:14 -0500 (Fri, 26 Oct 2007)
New Revision: 4317

Modified:
   trunk/numpy/core/fromnumeric.py
Log:
Fix ticket #599

Modified: trunk/numpy/core/fromnumeric.py
===================================================================
--- trunk/numpy/core/fromnumeric.py	2007-10-26 22:19:25 UTC (rev 4316)
+++ trunk/numpy/core/fromnumeric.py	2007-10-26 22:33:14 UTC (rev 4317)
@@ -35,7 +35,7 @@
     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)



More information about the Numpy-svn mailing list