commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r949936 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
Date Tue, 01 Jun 2010 06:35:23 GMT
Author: luc
Date: Tue Jun  1 06:35:23 2010
New Revision: 949936

URL: http://svn.apache.org/viewvc?rev=949936&view=rev
Log:
reverting a change introduced by error in r949935

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java?rev=949936&r1=949935&r2=949936&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
Tue Jun  1 06:35:23 2010
@@ -805,7 +805,7 @@ public class LevenbergMarquardtOptimizer
                     ak2        = norm2;
                 }
             }
-            if (ak2 < 1.0e-66) {
+            if (ak2 == 0) {
                 rank = k;
                 return;
             }



Mime
View raw message