commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject [45/50] [abbrv] [math] Fixed test thresholds.
Date Wed, 09 Dec 2015 16:17:25 GMT
Fixed test thresholds.

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/cb513428
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/cb513428
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/cb513428

Branch: refs/heads/MATH_3_X
Commit: cb513428f9b07f6d7a53c20b8b498b092a581126
Parents: d9bb79e
Author: Luc Maisonobe <luc@apache.org>
Authored: Wed Dec 9 15:55:40 2015 +0100
Committer: Luc Maisonobe <luc@apache.org>
Committed: Wed Dec 9 15:55:40 2015 +0100

----------------------------------------------------------------------
 .../math3/ode/nonstiff/DormandPrince54FieldIntegratorTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/cb513428/src/test/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54FieldIntegratorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54FieldIntegratorTest.java
b/src/test/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54FieldIntegratorTest.java
index 1a80dd8..87de743 100644
--- a/src/test/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54FieldIntegratorTest.java
+++ b/src/test/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54FieldIntegratorTest.java
@@ -69,15 +69,15 @@ public class DormandPrince54FieldIntegratorTest extends AbstractEmbeddedRungeKut
 
     @Override
     public void testIncreasingTolerance() {
-        // the 0.5 factor is only valid for this test
+        // the 0.7 factor is only valid for this test
         // and has been obtained from trial and error
         // there is no general relation between local and global errors
-        doTestIncreasingTolerance(Decimal64Field.getInstance(), 0.5, 1.0e-12);
+        doTestIncreasingTolerance(Decimal64Field.getInstance(), 0.7, 1.0e-12);
     }
 
     @Override
     public void testEvents() {
-        doTestEvents(Decimal64Field.getInstance(), 3.10e-8, "Dormand-Prince 5(4)");
+        doTestEvents(Decimal64Field.getInstance(), 1.7e-7, "Dormand-Prince 5(4)");
     }
 
     @Override


Mime
View raw message