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

scipy-svn at scipy.org scipy-svn at scipy.org
Sat May 8 04:44:39 EDT 2010


Author: rgommers
Date: 2010-05-08 03:44:39 -0500 (Sat, 08 May 2010)
New Revision: 6377

Modified:
   trunk/scipy/stats/distributions.py
Log:
BUG: Fix a minor error, deleted a line by accident.

Modified: trunk/scipy/stats/distributions.py
===================================================================
--- trunk/scipy/stats/distributions.py	2010-05-08 08:44:25 UTC (rev 6376)
+++ trunk/scipy/stats/distributions.py	2010-05-08 08:44:39 UTC (rev 6377)
@@ -582,7 +582,6 @@
             badvalue = nan
         self.badvalue = badvalue
         self.name = name
-        self.shapes = shapes
         self.a = a
         self.b = b
         if a is None:
@@ -611,6 +610,8 @@
         self.vecentropy = sgf(self._entropy,otypes='d')
         self.vecentropy.nin = self.numargs + 1
         self.veccdf = sgf(self._cdf_single_call,otypes='d')
+        self.veccdf.nin = self.numargs + 1
+        self.shapes = shapes
         self.extradoc = extradoc
         if momtype == 0:
             self.generic_moment = sgf(self._mom0_sc,otypes='d')




More information about the Scipy-svn mailing list