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:
Luc Maisonobe 2008-01-28 18:19:13 +00:00
parent 25bda2581a
commit 20cc568180
1 changed files with 1 additions and 3 deletions

View File

@ -90,9 +90,7 @@ public abstract class AbstractEstimator implements Estimator {
if (++costEvaluations > maxCostEval) {
throw new EstimationException("maximal number of evaluations exceeded ({0})",
new String[] {
Integer.toString(maxCostEval)
});
new Object[] { new Integer(maxCostEval) });
}
cost = 0;