Skip to content

Commit

Permalink
increase maxiter for nested coilset
Browse files Browse the repository at this point in the history
  • Loading branch information
kianorr committed Aug 29, 2024
1 parent 0ab468e commit 14d5159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ def test(c, method):

obj = ObjectiveFunction(objs)

(c,), _ = optimizer.optimize(c, obj, maxiter=25, ftol=5e-3, xtol=1e-15)
(c,), _ = optimizer.optimize(c, obj, maxiter=50, ftol=5e-3, xtol=1e-15)
flattened_coils = tree_leaves(
c, is_leaf=lambda x: isinstance(x, _Coil) and not isinstance(x, CoilSet)
)
Expand Down

0 comments on commit 14d5159

Please sign in to comment.