From 55824972ea05affdf3c62ebc63cdaa10e1ee98d6 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Sun, 29 Apr 2012 10:08:23 +0000 Subject: [PATCH] Relaxed tolerance in unit test (related to commit 1331849). git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1331891 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/math3/optimization/direct/PowellOptimizerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/math3/optimization/direct/PowellOptimizerTest.java b/src/test/java/org/apache/commons/math3/optimization/direct/PowellOptimizerTest.java index 1f014f498..3abb02f35 100644 --- a/src/test/java/org/apache/commons/math3/optimization/direct/PowellOptimizerTest.java +++ b/src/test/java/org/apache/commons/math3/optimization/direct/PowellOptimizerTest.java @@ -52,7 +52,7 @@ public class PowellOptimizerTest { for (int i = 0; i < dim; i++) { init[i] = minPoint[i] + 3; } - doTest(func, minPoint, init, GoalType.MINIMIZE, 1e-9, 1e-7); + doTest(func, minPoint, init, GoalType.MINIMIZE, 1e-9, 1e-5); } @Test