File tree Expand file tree Collapse file tree
test_autogalaxy/profiles/mass/dark Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ def test__deflections_via_analytical_from():
4242 scale_radius = 1.0 ,
4343 )
4444
45- deflections_via_analytical = nfw .deflections_2d_via_analytical_from (
45+ deflections_via_analytic = nfw .deflections_2d_via_analytic_from (
4646 grid = ag .Grid2DIrregular ([[0.0 , 0.0 ]])
4747 )
4848 deflections_via_cse = nfw .deflections_2d_via_cse_from (
4949 grid = ag .Grid2DIrregular ([[0.0 , 0.0 ]])
5050 )
5151
52- assert deflections_via_analytical == pytest .approx (deflections_via_cse .array , 1.0e-4 )
52+ assert deflections_via_analytic == pytest .approx (deflections_via_cse .array , 1.0e-4 )
5353
5454 nfw = ag .mp .NFW (
5555 centre = (0.3 , - 0.2 ),
@@ -58,14 +58,14 @@ def test__deflections_via_analytical_from():
5858 scale_radius = 4.0 ,
5959 )
6060
61- deflections_via_analytical = nfw .deflections_2d_via_analytic_from (
61+ deflections_via_analytic = nfw .deflections_2d_via_analytic_from (
6262 grid = ag .Grid2DIrregular ([[0.1625 , - 0.1625 ]])
6363 )
6464 deflections_via_cse = nfw .deflections_2d_via_cse_from (
6565 grid = ag .Grid2DIrregular ([[0.1625 , - 0.1625 ]])
6666 )
6767
68- assert deflections_via_analytical == pytest .approx (deflections_via_cse .array , 1.0e-4 )
68+ assert deflections_via_analytic == pytest .approx (deflections_via_cse .array , 1.0e-4 )
6969
7070
7171def test__deflections_via_integral_from ():
You can’t perform that action at this time.
0 commit comments