Skip to content

Commit

Permalink
Removed unused variable (discovered by "FindBugs").
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1295552 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Gilles Sadowski committed Mar 1, 2012
1 parent 10a8b98 commit bbbcf71
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -69,8 +69,6 @@ public abstract class AbstractLeastSquaresOptimizer
protected double[] point;
/** Current objective function value. */
protected double[] objective;
/** Current residuals. */
protected double[] residuals;
/** Weighted residuals */
protected double[] weightedResiduals;
/** Cost value (square root of the sum of the residuals). */
Expand Down Expand Up @@ -261,7 +259,6 @@ public PointVectorValuePair optimize(int maxEval,

// Store least squares problem characteristics.
jF = f.jacobian();
this.residuals = new double[target.length];

// Arrays shared with the other private methods.
point = startPoint.clone();
Expand Down

0 comments on commit bbbcf71

Please sign in to comment.