This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit 285838bb6ceaf4911692d02018d412033398f17f
Author: aherbert <aherb...@apache.org>
AuthorDate: Thu Oct 13 16:20:00 2022 +0100

    Increase test point tolerance
    
    This test is flaky and requires more than 3 repeats to pass at the
    previous tolerance level.
---
 .../math4/legacy/optim/nonlinear/scalar/noderiv/CMAESOptimizerTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/CMAESOptimizerTest.java
 
b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/CMAESOptimizerTest.java
index bf2a609df..2d23bf1dc 100644
--- 
a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/CMAESOptimizerTest.java
+++ 
b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/CMAESOptimizerTest.java
@@ -310,7 +310,7 @@ public class CMAESOptimizerTest {
             new PointValuePair(OptimTestUtils.point(DIM,0.0),0.0);
         doTest(TestFunction.SUM_POW.withDimension(DIM), startPoint, insigma, 
boundaries,
                 GoalType.MINIMIZE, 10, true, 0, 1e-13,
-                1e-8, 1e-1, 100000, expected);
+                1e-8, 1.5e-1, 100000, expected);
         doTest(TestFunction.SUM_POW.withDimension(DIM), startPoint, insigma, 
boundaries,
                 GoalType.MINIMIZE, 10, false, 0, 1e-13,
                 1e-8, 2e-1, 100000, expected);

Reply via email to