Skip to content

Commit

Permalink
Merge branch 'master' into rc/freeb_field
Browse files Browse the repository at this point in the history
  • Loading branch information
f0uriest authored Mar 16, 2024
2 parents 19efa41 + 072f66b commit 966acf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_perturbations.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ def test_optimal_perturb():

assert eq2.is_nested()
# recompute surface from R_lmn etc.
surf1 = eq1.get_surface_at(1)
surf1 = eq2.get_surface_at(1)
# this is the surface from perturbed coefficients
surf2 = eq1.surface
surf2 = eq2.surface

np.testing.assert_allclose(surf1.R_lmn, surf2.R_lmn, atol=1e-12, rtol=1e-12)
np.testing.assert_allclose(surf1.Z_lmn, surf2.Z_lmn, atol=1e-12, rtol=1e-12)
Expand Down

0 comments on commit 966acf5

Please sign in to comment.