Removed unused variable (discovered by "FindBugs").

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1295552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2012-03-01 13:14:32 +00:00
parent 10a8b982d7
commit bbbcf71511
1 changed files with 0 additions and 3 deletions

View File

@ -69,8 +69,6 @@ public abstract class AbstractLeastSquaresOptimizer
protected double[] point; protected double[] point;
/** Current objective function value. */ /** Current objective function value. */
protected double[] objective; protected double[] objective;
/** Current residuals. */
protected double[] residuals;
/** Weighted residuals */ /** Weighted residuals */
protected double[] weightedResiduals; protected double[] weightedResiduals;
/** Cost value (square root of the sum of the residuals). */ /** Cost value (square root of the sum of the residuals). */
@ -261,7 +259,6 @@ public abstract class AbstractLeastSquaresOptimizer
// Store least squares problem characteristics. // Store least squares problem characteristics.
jF = f.jacobian(); jF = f.jacobian();
this.residuals = new double[target.length];
// Arrays shared with the other private methods. // Arrays shared with the other private methods.
point = startPoint.clone(); point = startPoint.clone();