commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1407037 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/GaussNewtonOptimizer.java
Date Thu, 08 Nov 2012 12:59:07 GMT
Author: erans
Date: Thu Nov  8 12:59:07 2012
New Revision: 1407037

URL: http://svn.apache.org/viewvc?rev=1407037&view=rev
Log:
"final" keyword.

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

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/GaussNewtonOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/GaussNewtonOptimizer.java?rev=1407037&r1=1407036&r2=1407037&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/GaussNewtonOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/GaussNewtonOptimizer.java
Thu Nov  8 12:59:07 2012
@@ -119,7 +119,7 @@ public class GaussNewtonOptimizer extend
             residualsWeights[i] = weightMatrix.getEntry(i, i);
         }
 
-        double[] currentPoint = getStartPoint();
+        final double[] currentPoint = getStartPoint();
 
         // iterate until convergence is reached
         PointVectorValuePair current = null;



Mime
View raw message