Parent's field must be updated by subclass.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1423687 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2012-12-18 21:56:18 +00:00
parent 8953bc7402
commit c0a79b0809
1 changed files with 2 additions and 0 deletions

View File

@ -183,6 +183,8 @@ public class GaussNewtonOptimizer extends AbstractLeastSquaresOptimizer {
converged = checker.converged(iter, previous, current);
if (converged) {
cost = computeCost(currentResiduals);
// Update (deprecated) "point" field.
point = current.getPoint();
return current;
}
}