fixed a forgotten counter update
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@757183 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
87c0ddbc6e
commit
31e9c848f2
|
@ -183,6 +183,7 @@ public abstract class AbstractLeastSquaresOptimizer implements VectorialDifferen
|
|||
protected void updateResidualsAndCost()
|
||||
throws ObjectiveException {
|
||||
|
||||
++objectiveEvaluations;
|
||||
objective = f.objective(variables);
|
||||
if (objective.length != rows) {
|
||||
throw new ObjectiveException("dimension mismatch {0} != {1}",
|
||||
|
|
Loading…
Reference in New Issue