From 73b76598e776bbe7962e18cea087bdca1d560769 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Wed, 6 Jan 2016 12:41:38 +0100 Subject: [PATCH] Fixed test thresholds. --- .../ode/nonstiff/DormandPrince54FieldIntegratorTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/commons/math4/ode/nonstiff/DormandPrince54FieldIntegratorTest.java b/src/test/java/org/apache/commons/math4/ode/nonstiff/DormandPrince54FieldIntegratorTest.java index 9a853cd48..d25c4ad6a 100644 --- a/src/test/java/org/apache/commons/math4/ode/nonstiff/DormandPrince54FieldIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/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