Skip to content

Commit

Permalink
higher tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasfilipp committed May 29, 2024
1 parent ded792c commit 5d74d07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_multipole.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ def test(sim_source, device, lens_models):
lens_test_helper(lens, lens_ls, z_s, x, kwargs_ls, rtol, atol, device=device)
# Different tolerances for difference quantities
alpha_test_helper(
lens, lens_ls, z_s, x, kwargs_ls, rtol=1e-100, atol=6e-5, device=device
lens, lens_ls, z_s, x, kwargs_ls, rtol=rtol, atol=atol, device=device
)
kappa_test_helper(
lens, lens_ls, z_s, x, kwargs_ls, rtol=6e-5, atol=1e-100, device=device
lens, lens_ls, z_s, x, kwargs_ls, rtol=rtol, atol=atol, device=device
)
Psi_test_helper(
lens, lens_ls, z_s, x, kwargs_ls, rtol=3e-5, atol=1e-100, device=device
lens, lens_ls, z_s, x, kwargs_ls, rtol=rtol, atol=atol, device=device
)


Expand Down

0 comments on commit 5d74d07

Please sign in to comment.