[Scipy-svn] r2239 - trunk/Lib/stats

scipy-svn at scipy.org scipy-svn at scipy.org
Mon Oct 2 03:17:54 CDT 2006


Author: stefan
Date: 2006-10-02 03:17:40 -0500 (Mon, 02 Oct 2006)
New Revision: 2239

Modified:
   trunk/Lib/stats/stats.py
Log:
Fix typo.


Modified: trunk/Lib/stats/stats.py
===================================================================
--- trunk/Lib/stats/stats.py	2006-09-30 23:39:22 UTC (rev 2238)
+++ trunk/Lib/stats/stats.py	2006-10-02 08:17:40 UTC (rev 2239)
@@ -1216,7 +1216,7 @@
     a = asarray(a).copy()
     mask = zeros(a.shape, dtype=bool)
     if threshmin is not None:
-        mask = (a < threshmin)
+        mask |= (a < threshmin)
     if threshmax is not None:
         mask |= (a > threshmax)
     a[mask] = newval



More information about the Scipy-svn mailing list