Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413172 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ec46f40b0b
commit
9a9b2d3153
|
@ -110,9 +110,9 @@ public abstract class BaseAbstractUnivariateOptimizer
|
|||
|
||||
/** {@inheritDoc} */
|
||||
public UnivariatePointValuePair optimize(int maxEval, UnivariateFunction f,
|
||||
GoalType goalType,
|
||||
double min, double max,
|
||||
double startValue) {
|
||||
GoalType goalType,
|
||||
double min, double max,
|
||||
double startValue) {
|
||||
// Checks.
|
||||
if (f == null) {
|
||||
throw new NullArgumentException();
|
||||
|
@ -136,9 +136,9 @@ public abstract class BaseAbstractUnivariateOptimizer
|
|||
|
||||
/** {@inheritDoc} */
|
||||
public UnivariatePointValuePair optimize(int maxEval,
|
||||
UnivariateFunction f,
|
||||
GoalType goalType,
|
||||
double min, double max){
|
||||
UnivariateFunction f,
|
||||
GoalType goalType,
|
||||
double min, double max){
|
||||
return optimize(maxEval, f, goalType, min, max, min + 0.5 * (max - min));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue