[Scipy-tickets] [SciPy] #769: scipy.stats.distributions.genextreme.pdf return nan for x=1 and c=1, which is wrong.

SciPy scipy-tickets@scipy....
Fri Oct 31 16:45:01 CDT 2008


#769: scipy.stats.distributions.genextreme.pdf return nan for x=1 and c=1, which
is wrong.
-------------------------+--------------------------------------------------
 Reporter:  pbrod        |        Owner:  somebody
     Type:  defect       |       Status:  new     
 Priority:  normal       |    Milestone:  0.7.0   
Component:  scipy.stats  |      Version:  devel   
 Severity:  normal       |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by pbrod):

 The pdf of the generalized extreme value distribution at c*x=1 for c!=1
 should be 0.0. The current version of genextreme.pdf returns:
 {{{
 In [26]: dst.genextreme.pdf(2,0.5)
 Out[26]: -1.#IND
 }}}

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


More information about the Scipy-tickets mailing list