[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 06:49:26 CDT 2006


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

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

Comment:

 Replying to [comment:1 oliphant]:
 I don't agree that changeset 3265 closes ticket #323.
 The modifications only solve the case when all coefficient are zero like
 {{{
 roots(poly1d([0,0,0])
 }}}

 but not when there is only one coefficient that is non-zero :
 {{{
 roots(poly1d([1,0,0])
 }}}

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


More information about the Numpy-tickets mailing list