[Scipy-tickets] [SciPy] #745: scipy.stats.distribution - tests and bugfixes

SciPy scipy-tickets@scipy....
Sat Oct 4 09:24:44 CDT 2008

#745: scipy.stats.distribution - tests and bugfixes
 Reporter:  josefpktd    |        Owner:  somebody
     Type:  defect       |       Status:  new     
 Priority:  normal       |    Milestone:          
Component:  scipy.stats  |      Version:  devel   
 Severity:  normal       |   Resolution:          
 Keywords:               |  
Comment (by josefpktd):

 The problems in rv_discrete._ppf of not handling lists, inf and nans
 correctly are all
 related to the fact that output was defined as an integer type.

 after changing to typecode='d':

 output = valarray(shape(cond),value=self.a-1,typecode='d')

 .tolist(), and replacing inf with a large number in my original fix, are
 not necessary anymore.


Ticket URL: <http://scipy.org/scipy/scipy/ticket/745#comment:4>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list