Author: luc
Date: Mon Jan 28 10:19:13 2008
New Revision: 615975
URL: http://svn.apache.org/viewvc?rev=615975&view=rev
Log:
fixed an array type error
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java?rev=615975&r1=615974&r2=615975&view=diff
==============================================================================
---
commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
(original)
+++
commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
Mon Jan 28 10:19:13 2008
@@ -90,9 +90,7 @@
if (++costEvaluations > maxCostEval) {
throw new EstimationException("maximal number of evaluations
exceeded ({0})",
- new String[] {
- Integer.toString(maxCostEval)
- });
+ new Object[] { new
Integer(maxCostEval) });
}
cost = 0;