[Scipy-tickets] [SciPy] #1752: hyp0f1 raises spurious RuntimeWarning

SciPy Trac scipy-tickets@scipy....
Thu Oct 25 12:28:47 CDT 2012


#1752: hyp0f1 raises spurious RuntimeWarning
------------------------------+---------------------------------------------
 Reporter:  unknown (google)  |       Owner:  pv         
     Type:  defect            |      Status:  new        
 Priority:  normal            |   Milestone:  Unscheduled
Component:  scipy.special     |     Version:  0.10.1     
 Keywords:  hyp0f1            |  
------------------------------+---------------------------------------------
 >>> scipy.special.hyp0f1(0.5, 0)
 /usr/lib/python2.7/dist-packages/scipy/special/basic.py:451:
 RuntimeWarning: overflow encountered in double_scalars
   num *= gamma(v)
 /usr/lib/python2.7/dist-packages/scipy/special/basic.py:452:
 RuntimeWarning: invalid value encountered in double_scalars
   return where(z==0,1.0,num/ asarray(den))
 array(1.0)

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


More information about the Scipy-tickets mailing list