[Scipy-tickets] [SciPy] #477: Poisson with lambda 0 fails

SciPy scipy-tickets@scipy....
Wed Aug 8 13:42:55 CDT 2007


#477: Poisson with lambda 0 fails
-------------------------+--------------------------------------------------
 Reporter:  danhs        |       Owner:  somebody      
     Type:  defect       |      Status:  new           
 Priority:  normal       |   Milestone:                
Component:  scipy.stats  |     Version:  0.5.2         
 Severity:  normal       |    Keywords:  stats, poisson
-------------------------+--------------------------------------------------
 Poisson distribution with lambda value of 0 fails.

 >>> scipy.stats.poisson.cdf(4, 0)
 array(-1.#IND)

 In this case, 1 should have been returned.

 Machine is running Windows XP, Python 2.5.1, Scipy 0.5.2.

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


More information about the Scipy-tickets mailing list