commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r799913 - in /commons/proper/math/trunk/src/test/java/org/apache/commons/math: estimation/MinpackTest.java optimization/general/MinpackTest.java
Date Sat, 01 Aug 2009 19:41:26 GMT
Author: luc
Date: Sat Aug  1 19:41:25 2009
New Revision: 799913

URL: http://svn.apache.org/viewvc?rev=799913&view=rev
Log:
changed test threshold, it was too tight for JRockit

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/estimation/MinpackTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/estimation/MinpackTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/estimation/MinpackTest.java?rev=799913&r1=799912&r2=799913&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/estimation/MinpackTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/estimation/MinpackTest.java
Sat Aug  1 19:41:25 2009
@@ -1206,6 +1206,7 @@
                                double[] theoreticalMinParams) {
       super(m, startParams, theoreticalStartCost,
             theoreticalMinCost, theoreticalMinParams);
+      setCostAccuracy(2.5e-8);
     }
 
     @Override

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java?rev=799913&r1=799912&r2=799913&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java
Sat Aug  1 19:41:25 2009
@@ -1196,6 +1196,7 @@
                                double[] theoreticalMinParams) {
       super(m, startParams, theoreticalMinCost,
             theoreticalMinParams);
+      setCostAccuracy(2.5e-8);
     }
 
     @Override



Mime
View raw message