[Scipy-tickets] [SciPy] #854: special.jv, yv etc. return 0 when they should return nan

SciPy scipy-tickets@scipy....
Fri Jan 23 18:40:17 CST 2009


#854: special.jv, yv etc. return 0 when they should return nan
---------------------------+------------------------------------------------
 Reporter:  pv             |       Owner:  somebody
     Type:  defect         |      Status:  new     
 Priority:  normal         |   Milestone:  0.8.0   
Component:  scipy.special  |     Version:  devel   
 Severity:  minor          |    Keywords:          
---------------------------+------------------------------------------------
 These should return nans since the result is complex-valued:
 {{{
 >>> import scipy.special as sc
 >>> sc.jv(0.5, -1)
 0.0
 >>> sc.yv(0.5, -1)
 0.0
 }}}
 There may be others. (These functions come from Cephes.)

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


More information about the Scipy-tickets mailing list