fixed an array type error
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@615975 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25bda2581a
commit
20cc568180
|
@ -90,9 +90,7 @@ public abstract class AbstractEstimator implements Estimator {
|
||||||
|
|
||||||
if (++costEvaluations > maxCostEval) {
|
if (++costEvaluations > maxCostEval) {
|
||||||
throw new EstimationException("maximal number of evaluations exceeded ({0})",
|
throw new EstimationException("maximal number of evaluations exceeded ({0})",
|
||||||
new String[] {
|
new Object[] { new Integer(maxCostEval) });
|
||||||
Integer.toString(maxCostEval)
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cost = 0;
|
cost = 0;
|
||||||
|
|
Loading…
Reference in New Issue