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

scipy-svn@scip... scipy-svn@scip...
Sat Sep 11 19:14:09 CDT 2010


Author: warren.weckesser
Date: 2010-09-11 19:14:09 -0500 (Sat, 11 Sep 2010)
New Revision: 6702

Modified:
   trunk/scipy/stats/distributions.py
Log:
BUG: stats.distributions: loggamma_gen was missing the argument shapes='c' (ticket #1261).

Modified: trunk/scipy/stats/distributions.py
===================================================================
--- trunk/scipy/stats/distributions.py	2010-09-11 23:16:47 UTC (rev 6701)
+++ trunk/scipy/stats/distributions.py	2010-09-12 00:14:09 UTC (rev 6702)
@@ -3452,7 +3452,7 @@
     def _munp(self,n,*args):
         # use generic moment calculation using ppf
         return self._mom0_sc(n,*args)
-loggamma = loggamma_gen(name='loggamma', longname="A log gamma",
+loggamma = loggamma_gen(name='loggamma', longname="A log gamma", shapes='c',
                         extradoc="""
 
 Log gamma distribution



More information about the Scipy-svn mailing list