[Scipy-svn] r5146 - trunk/scipy/stats
scipy-svn at scipy.org
scipy-svn at scipy.org
Tue Nov 18 10:32:56 EST 2008
Author: josef
Date: 2008-11-18 09:32:54 -0600 (Tue, 18 Nov 2008)
New Revision: 5146
Modified:
trunk/scipy/stats/distributions.py
Log:
another dimension correction for genextreme, but just to get a useful traceback, see #793
Modified: trunk/scipy/stats/distributions.py
===================================================================
--- trunk/scipy/stats/distributions.py 2008-11-18 06:25:34 UTC (rev 5145)
+++ trunk/scipy/stats/distributions.py 2008-11-18 15:32:54 UTC (rev 5146)
@@ -1755,7 +1755,7 @@
def _argcheck(self, c):
self.b = where(c > 0, 1.0 / c, inf)
self.a = where(c < 0, 1.0 / c, -inf)
- return True #(c!=0)
+ return (c==c) #True #(c!=0)
def _pdf(self, x, c):
## ex2 = 1-c*x
## pex2 = pow(ex2,1.0/c)
More information about the Scipy-svn
mailing list