diff --git a/src/main/java/org/apache/commons/math3/optim/BaseMultiStartMultivariateOptimizer.java b/src/main/java/org/apache/commons/math3/optim/BaseMultiStartMultivariateOptimizer.java index 8f7a51e1c..a5e7c69c1 100644 --- a/src/main/java/org/apache/commons/math3/optim/BaseMultiStartMultivariateOptimizer.java +++ b/src/main/java/org/apache/commons/math3/optim/BaseMultiStartMultivariateOptimizer.java @@ -164,8 +164,8 @@ public abstract class BaseMultiStartMultivariateOptimizer clear(); final int maxEval = getMaxEvaluations(); - final double[] min = getLowerBound(); - final double[] max = getUpperBound(); + final double[] min = getLowerBound(); // XXX Should be used to enforce bounds (see below). + final double[] max = getUpperBound(); // XXX Should be used to enforce bounds (see below). final double[] startPoint = getStartPoint(); // Multi-start loop.