[Scipy-tickets] [SciPy] #1326: 0log0: chi2.pdf erroneous value at x=0.0 df=2, and others

SciPy Trac scipy-tickets@scipy....
Sat Oct 15 15:48:11 CDT 2011


#1326: 0log0: chi2.pdf erroneous value at x=0.0 df=2, and others
-------------------------+--------------------------------------------------
 Reporter:  tpikonen     |       Owner:  somebody   
     Type:  defect       |      Status:  new        
 Priority:  normal       |   Milestone:  Unscheduled
Component:  scipy.stats  |     Version:  devel      
 Keywords:  chi2 pdf     |  
-------------------------+--------------------------------------------------

Comment(by josefpktd):

 and gamma: see https://github.com/scipy/scipy/pull/5

 {{{
 >>> stats.gamma._logpdf(0, 1)
 nan
 >>> stats.gamma.logpdf(0, 1)
 nan
 }}}

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


More information about the Scipy-tickets mailing list