From 20cc568180065a7b3ebf3ff664ca029ddf69da80 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Mon, 28 Jan 2008 18:19:13 +0000 Subject: [PATCH] fixed an array type error git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@615975 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/math/estimation/AbstractEstimator.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/java/org/apache/commons/math/estimation/AbstractEstimator.java b/src/java/org/apache/commons/math/estimation/AbstractEstimator.java index 33acb357b..e12173e72 100644 --- a/src/java/org/apache/commons/math/estimation/AbstractEstimator.java +++ b/src/java/org/apache/commons/math/estimation/AbstractEstimator.java @@ -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;