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:
parent
10a8b982d7
commit
bbbcf71511
|
@ -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). */
|
||||
|
@ -261,7 +259,6 @@ public abstract class AbstractLeastSquaresOptimizer
|
|||
|
||||
// Store least squares problem characteristics.
|
||||
jF = f.jacobian();
|
||||
this.residuals = new double[target.length];
|
||||
|
||||
// Arrays shared with the other private methods.
|
||||
point = startPoint.clone();
|
||||
|
|
Loading…
Reference in New Issue