[Scipy-svn] r6262 - trunk/scipy/cluster

scipy-svn@scip... scipy-svn@scip...
Sun Mar 21 08:27:41 CDT 2010


Author: warren.weckesser
Date: 2010-03-21 08:27:41 -0500 (Sun, 21 Mar 2010)
New Revision: 6262

Modified:
   trunk/scipy/cluster/hierarchy.py
Log:
BUG: array is from the numpy (np) module.

Modified: trunk/scipy/cluster/hierarchy.py
===================================================================
--- trunk/scipy/cluster/hierarchy.py	2010-03-21 12:37:36 UTC (rev 6261)
+++ trunk/scipy/cluster/hierarchy.py	2010-03-21 13:27:41 UTC (rev 6262)
@@ -219,7 +219,7 @@
     if a.base is not None:
         return a.copy()
     elif np.issubsctype(a, np.float32):
-        return array(a, dtype=np.double)
+        return np.array(a, dtype=np.double)
     else:
         return a
 



More information about the Scipy-svn mailing list