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

NumPy numpy-tickets at scipy.net
Tue Dec 5 16:43:03 CST 2006


#396: poly1d hangs
--------------------+-------------------------------------------------------
 Reporter:  joris   |        Owner:  somebody
     Type:  defect  |       Status:  new     
 Priority:  normal  |    Milestone:          
Component:  Other   |      Version:          
 Severity:  normal  |   Resolution:          
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by albertstrasheim):

 I can't reproduce this hang with NumPy 1.0.2.dev3476 running with Python
 2.4.3 on Windows XP. Can you build NumPy from SVN and see if you still get
 this problem? Or try NumPy 1.0.1, it's pretty recent.

 {{{
 #!python
 In [11]: from numpy import *

 In [12]: p = poly1d([nan,nan,1], r=0)

 In [13]: p
 Out[13]: Warning: invalid value encountered in absolute
 Warning: invalid value encountered in reduce
 Warning: invalid value encountered in reduce
 poly1d([-1.#IND, -1.#IND,  1.    ])
 }}}

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


More information about the Numpy-tickets mailing list