[Numpy-tickets] [NumPy] #396: poly1d hangs

NumPy numpy-tickets at scipy.net
Wed Dec 6 14:51:17 CST 2006


#396: poly1d hangs
--------------------+-------------------------------------------------------
 Reporter:  joris   |        Owner:  somebody
     Type:  defect  |       Status:  closed  
 Priority:  normal  |    Milestone:          
Component:  Other   |      Version:          
 Severity:  normal  |   Resolution:  fixed   
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by oliphant):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 The underlying LAPACK calls can't handle non-finite floating-point numbers
 (there is probably a loop somewhere that ends up comparing nan to nan and
 never finishes).

 In SciPy we placed a check for finite values but this is not in NumPy.
 So, you will see the error whenever you don't have SciPy installed
 (because then the NumPy eig function will be called which hangs).

 I've added to SVN a check for finite values for the functions eig and
 eigvals (the others seemed to handle infs and nans O.K. --- but they
 should be checked).

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/396#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list