[Scipy-tickets] [SciPy] #1339: warnings import missing in scipy/optimize/zeros.py

SciPy Trac scipy-tickets@scipy....
Fri Dec 3 07:28:24 CST 2010


#1339: warnings import missing in scipy/optimize/zeros.py
---------------------------------+------------------------------------------
 Reporter:  bjarni.vilhjalmsson  |       Owner:  somebody
     Type:  defect               |      Status:  new     
 Priority:  normal               |   Milestone:  0.9.0   
Component:  Other                |     Version:  0.8.0   
 Keywords:                       |  
---------------------------------+------------------------------------------
 A rather simple and small bug:

   File "/sw/lib/python2.6/site-packages/scipy/optimize/zeros.py", line
 123, in newton
     warnings.warn(msg, RuntimeWarning)
 NameError: global name 'warnings' is not defined

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1339>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list