Skip to content

Commit

Permalink
tightening tolerances again for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgiuliani committed Apr 24, 2024
1 parent 773b9ec commit 736d6eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/geo/test_boozersurface.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ def subtest_boozer_surface_optimisation_convergence(self, surfacetype,

# compute surface first using LBFGS exact and an area constraint
res = boozer_surface.minimize_boozer_penalty_constraints_LBFGS(
tol=1e-10, maxiter=600, constraint_weight=100., iota=iota, G=G,
tol=1e-11, maxiter=700, constraint_weight=100., iota=iota, G=G,
vectorize=vectorize)
print('Residual norm after LBFGS', np.sqrt(2*res['fun']))
print('Residual norm after LBFGS', res['iter'], np.sqrt(2*res['fun']))

boozer_surface.recompute_bell()
if second_stage == 'ls':
Expand Down

0 comments on commit 736d6eb

Please sign in to comment.