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

scipy-svn@scip... scipy-svn@scip...
Fri Oct 12 12:17:00 CDT 2007


Author: rkern
Date: 2007-10-12 12:16:54 -0500 (Fri, 12 Oct 2007)
New Revision: 3434

Modified:
   trunk/scipy/stats/kde.py
Log:
Fix typo.

Modified: trunk/scipy/stats/kde.py
===================================================================
--- trunk/scipy/stats/kde.py	2007-10-11 20:53:54 UTC (rev 3433)
+++ trunk/scipy/stats/kde.py	2007-10-12 17:16:54 UTC (rev 3434)
@@ -202,7 +202,7 @@
         if self.d != 1:
             raise ValueError("integrate_box_1d() only handles 1D pdfs")
 
-        stdev = np.ravel(sqrt(self.covariance))[0]
+        stdev = ravel(sqrt(self.covariance))[0]
 
         normalized_low = ravel((low - self.dataset)/stdev)
         normalized_high = ravel((high - self.dataset)/stdev)



More information about the Scipy-svn mailing list