[Scipy-svn] r3171 - trunk/Lib/odr

scipy-svn@scip... scipy-svn@scip...
Wed Jul 18 06:39:27 CDT 2007


Author: pearu
Date: 2007-07-18 06:38:43 -0500 (Wed, 18 Jul 2007)
New Revision: 3171

Modified:
   trunk/Lib/odr/odrpack.py
Log:
Fixed odr tests failure bug.

Modified: trunk/Lib/odr/odrpack.py
===================================================================
--- trunk/Lib/odr/odrpack.py	2007-07-18 11:09:45 UTC (rev 3170)
+++ trunk/Lib/odr/odrpack.py	2007-07-18 11:38:43 UTC (rev 3171)
@@ -140,7 +140,7 @@
                   'Sum of squares convergence',
                   'Parameter convergence',
                   'Both sum of squares and parameter convergence',
-                  'Iteration limit reached')[info % 10]
+                  'Iteration limit reached')[info % 5]
 
     if info >= 5:
         # questionable results or fatal error



More information about the Scipy-svn mailing list