From 1585eb6594020509651a83229881808e440269b7 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 7 Mar 2017 13:18:00 +0100 Subject: [PATCH] fixed files form Math #67 --- .../math/optimization/MultiStartUnivariateRealOptimizer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/Math/67/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java b/projects/Math/67/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java index d0dada3..26fd5e0 100644 --- a/projects/Math/67/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java +++ b/projects/Math/67/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java @@ -89,12 +89,12 @@ public MultiStartUnivariateRealOptimizer(final UnivariateRealOptimizer optimizer /** {@inheritDoc} */ public double getFunctionValue() { - return optimizer.getFunctionValue(); + return optimaValues[0]; } /** {@inheritDoc} */ public double getResult() { - return optimizer.getResult(); + return optima[0]; } /** {@inheritDoc} */