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:
Luc Maisonobe 2009-03-22 13:19:05 +00:00
parent 87c0ddbc6e
commit 31e9c848f2
1 changed files with 1 additions and 0 deletions

View File

@ -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}",