[Scipy-tickets] [SciPy] #1069: overflow/long integer error with generic discrete moment calculation

SciPy Trac scipy-tickets@scipy....
Fri Nov 12 21:33:04 CST 2010


#1069: overflow/long integer error with generic discrete moment calculation
-------------------------+--------------------------------------------------
 Reporter:  josefpktd    |       Owner:  josefpktd   
     Type:  defect       |      Status:  needs_review
 Priority:  normal       |   Milestone:  0.9.0       
Component:  scipy.stats  |     Version:  0.7.0       
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by rgommers):

 So this can be closed?

 {{{
 In [7]: stats.poisson.moment(7,10)
 Out[7]: array(48807310.000000156)

 In [8]: stats.poisson.moment(7,10.)
 Out[8]: array(48807310.000000156)

 In [9]: stats.poisson.moment(7.,10)
 Out[9]: array(48807310.000000156)
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1069#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