Skip to content

Commit 00332fe

Browse files
committed
test: update CMAES convergence with tolfun kwarg to enforce convergence on actions run
1 parent 4d18f02 commit 00332fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_003_analytical_impedance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def setup_class(cls):
5353
plane="longitudinal",
5454
objectiveFunction="real",
5555
)
56-
cls.CMAES_model.run_cmaes(maxiter=500, popsize=50, sigma=0.15)
56+
cls.CMAES_model.run_cmaes(maxiter=5000, popsize=50, sigma=0.15, tolfun=1e-9)
5757
cls.CMAES_model.run_minimization_algorithm()
5858

5959
# --- DE -------------------------------------------------------------------

0 commit comments

Comments
 (0)