[Scipy-svn] r5178 - trunk/scipy/stats

scipy-svn@scip... scipy-svn@scip...
Mon Nov 24 01:44:13 CST 2008


Author: cdavid
Date: 2008-11-24 01:44:09 -0600 (Mon, 24 Nov 2008)
New Revision: 5178

Modified:
   trunk/scipy/stats/stats.py
Log:
Fix missing namespace.

Modified: trunk/scipy/stats/stats.py
===================================================================
--- trunk/scipy/stats/stats.py	2008-11-24 04:12:52 UTC (rev 5177)
+++ trunk/scipy/stats/stats.py	2008-11-24 07:44:09 UTC (rev 5178)
@@ -1159,7 +1159,7 @@
     n = len(a)
 
     if kind == 'rank':
-        if not(any(a == score)):
+        if not(np.any(a == score)):
             a = np.append(a,score)
             a_len = np.array(range(len(a)))
         else:



More information about the Scipy-svn mailing list