From bb5843f4aacb37d4a5f58a1ff83b867353434504 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Wed, 14 Jul 2021 11:04:50 +0200 Subject: [PATCH] CheckStyle. --- .../legacy/optim/nonlinear/scalar/noderiv/SimplexOptimizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/SimplexOptimizer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/SimplexOptimizer.java index 60a2a388c..a3a20367c 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/SimplexOptimizer.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/SimplexOptimizer.java @@ -123,7 +123,7 @@ public class SimplexOptimizer extends MultivariateOptimizer { // Indirect call to "computeObjectiveValue" in order to update the // evaluations counter. - final MultivariateFunction evalFunc = (p) -> computeObjectiveValue(p); + final MultivariateFunction evalFunc = p -> computeObjectiveValue(p); final boolean isMinim = getGoalType() == GoalType.MINIMIZE; final Comparator comparator = (o1, o2) -> {