Skip to content

Commit

Permalink
Smallest PR ever (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
YigitElma authored Mar 15, 2024
2 parents a232c02 + 3ea31b9 commit 072f66b
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 072f66b

Please sign in to comment.