[Scipy-tickets] [SciPy] #1782: RuntimeWarning encountered at first p_roots or ps_roots call.

SciPy Trac scipy-tickets@scipy....
Wed Dec 5 11:08:57 CST 2012


#1782: RuntimeWarning encountered at first p_roots or ps_roots call.
----------------------------+-----------------------------------------------
 Reporter:  sylvain.corlay  |       Owner:  pv         
     Type:  defect          |      Status:  new        
 Priority:  normal          |   Milestone:  Unscheduled
Component:  scipy.special   |     Version:  0.11.0     
 Keywords:  orthogonal      |  
----------------------------+-----------------------------------------------

Comment(by rgommers):

 I doubt it, because with np.where you calculate both expressions with
 arrays of length k. With the above function you do one with length N and
 one with length k - N, with N = sum(k == 0).

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


More information about the Scipy-tickets mailing list