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/73b76598 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/73b76598 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/73b76598 Branch: refs/heads/master Commit: 73b76598e776bbe7962e18cea087bdca1d560769 Parents: 60afd02 Author: Luc Maisonobe <l...@apache.org> Authored: Wed Jan 6 12:41:38 2016 +0100 Committer: Luc Maisonobe <l...@apache.org> Committed: Wed Jan 6 12:41:38 2016 +0100 ---------------------------------------------------------------------- .../math4/ode/nonstiff/DormandPrince54FieldIntegratorTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/73b76598/src/test/java/org/apache/commons/math4/ode/nonstiff/DormandPrince54FieldIntegratorTest.java ---------------------------------------------------------------------- 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 9a853cd..d25c4ad 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