MATH-922
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:
parent
8953bc7402
commit
c0a79b0809
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue