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

scipy-svn@scip... scipy-svn@scip...
Wed Apr 9 17:56:39 CDT 2008


Author: christoph.weidemann
Date: 2008-04-09 17:56:01 -0500 (Wed, 09 Apr 2008)
New Revision: 4121

Modified:
   trunk/scipy/stats/stats.py
Log:
Temporary fix for ttest_1samp (cf. ticket #631)

Modified: trunk/scipy/stats/stats.py
===================================================================
--- trunk/scipy/stats/stats.py	2008-04-08 21:19:42 UTC (rev 4120)
+++ trunk/scipy/stats/stats.py	2008-04-09 22:56:01 UTC (rev 4121)
@@ -1678,7 +1678,7 @@
 """
     a = asarray(a)
     x = mean(a,None)
-    v = var(a)
+    v = var(a,None)
     n = len(a)
     df = n-1
     svar = ((n-1)*v) / float(df)



More information about the Scipy-svn mailing list