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/field-ode
Commit: cb513428f9b07f6d7a53c20b8b498b092a581126
Parents: d9bb79e
Author: Luc Maisonobe <l...@apache.org>
Authored: Wed Dec 9 15:55:40 2015 +0100
Committer: Luc Maisonobe <l...@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

Reply via email to