[Scipy-tickets] [SciPy] #1291: stats.discrete distributions hypergeom.sf exception

SciPy Trac scipy-tickets@scipy....
Fri Jan 14 20:36:48 CST 2011


#1291: stats.discrete distributions hypergeom.sf exception
-------------------------+--------------------------------------------------
 Reporter:  josefpktd    |       Owner:  somebody
     Type:  defect       |      Status:  apply   
 Priority:  normal       |   Milestone:  0.9.0   
Component:  scipy.stats  |     Version:  0.7.0   
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by josefpktd):

 fixed for stats of continuous distributions in changeset:7032

 but discrete distributions doesn't seem to have the same problem, even
 without the "if any(cond)" protection

 {{{
 >>> stats.poisson.stats(-2)
 (array(1.#QNAN), array(1.#QNAN))
 >>> stats.binom.stats(-2,-0.5)
 (array(1.#QNAN), array(1.#QNAN))
 }}}

 ticket:934 is partially related, no _argcheck in moment

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


More information about the Scipy-tickets mailing list