[Numpy-tickets] [NumPy] #401: numpy.roots() does not return roots if they are all zero.

NumPy numpy-tickets at scipy.net
Tue Dec 12 11:32:08 CST 2006


#401: numpy.roots() does not return roots if they are all zero.
------------------------+---------------------------------------------------
 Reporter:  DaleD       |        Owner:  somebody   
     Type:  defect      |       Status:  new        
 Priority:  normal      |    Milestone:  1.0 Release
Component:  numpy.core  |      Version:  none       
 Severity:  normal      |   Resolution:             
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by nils):

 This is fixed in svn.

 {{{
 >>> from numpy import *
 >>> roots(array([1.0,0,0]))
 array([ 0.,  0.])
 >>> import numpy
 >>> numpy.__version__
 '1.0.2.dev3483'
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/401#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