[Scipy-svn] r6285 - trunk/scipy/stats/tests

scipy-svn@scip... scipy-svn@scip...
Mon Mar 29 23:39:41 CDT 2010


Author: cdavid
Date: 2010-03-29 23:39:41 -0500 (Mon, 29 Mar 2010)
New Revision: 6285

Modified:
   trunk/scipy/stats/tests/test_discrete_basic.py
Log:
BUG: update histogram to use numpy >= 1.4 conventions.

Modified: trunk/scipy/stats/tests/test_discrete_basic.py
===================================================================
--- trunk/scipy/stats/tests/test_discrete_basic.py	2010-03-30 04:39:32 UTC (rev 6284)
+++ trunk/scipy/stats/tests/test_discrete_basic.py	2010-03-30 04:39:41 UTC (rev 6285)
@@ -249,7 +249,7 @@
     histsupp[0] = distfn.a
 
     # find sample frequencies and perform chisquare test
-    freq,hsupp = np.histogram(rvs,histsupp,new=True)
+    freq,hsupp = np.histogram(rvs,histsupp)
     cdfs = distfn.cdf(distsupp,*arg)
     (chis,pval) = stats.chisquare(np.array(freq),n*distmass)
 



More information about the Scipy-svn mailing list