[Scipy-svn] r6239 - trunk/scipy/optimize

scipy-svn@scip... scipy-svn@scip...
Tue Feb 16 16:54:01 CST 2010


Author: oliphant
Date: 2010-02-16 16:54:01 -0600 (Tue, 16 Feb 2010)
New Revision: 6239

Modified:
   trunk/scipy/optimize/minpack.py
Log:

Fix typo from #1115.

Modified: trunk/scipy/optimize/minpack.py
===================================================================
--- trunk/scipy/optimize/minpack.py	2010-02-15 09:40:52 UTC (rev 6238)
+++ trunk/scipy/optimize/minpack.py	2010-02-16 22:54:01 UTC (rev 6239)
@@ -313,7 +313,7 @@
 
     if (info not in [1,2,3,4] and not full_output):
         if info in [5,6,7,8]:
-            warning.warn(errors[info][0], RuntimeWarning)
+            warnings.warn(errors[info][0], RuntimeWarning)
         else:
             try:
                 raise errors[info][1](errors[info][0])



More information about the Scipy-svn mailing list