[Numpy-tickets] [NumPy] #323: roots(polynomial) drops zero roots if only one non-zero coeff in polynomial

NumPy numpy-tickets at scipy.net
Sat Oct 14 16:13:49 CDT 2006


#323: roots(polynomial) drops zero roots if only one non-zero coeff in polynomial
----------------------------+-----------------------------------------------
 Reporter:  RyanGutenkunst  |        Owner:  somebody   
     Type:  defect          |       Status:  closed     
 Priority:  normal          |    Milestone:  1.0 Release
Component:  numpy.lib       |      Version:             
 Severity:  normal          |   Resolution:  fixed      
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by FabriciO):

 Sorry, as I got numpy from bleeding-edge apt-get repository (cf http
 ://deb-scipy.alioth.debian.org/), I was thinking that I have a version
 with the bug fixed.

 But with the previous example, I have the following result:

 {{{
 >>> import numpy
 >>> numpy.__version__
 '1.0rc1'
 >>> numpy.lib.polynomial.roots(numpy.lib.polynomial.poly1d([1,0,0]))
 array([], dtype=float64)
 }}}

 I'll wait debian-scipy-team release...
 Sorry for having reopened the ticket.

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


More information about the Numpy-tickets mailing list