Skip to content

Commit f2d5cd6

Browse files
authored
Merge pull request #449 from PyAutoLabs/feature/linear-light-profile-intensity-dict-pytree
fix: off-by-one in test__lp_linear_func_galaxy_dict_from exposed by LightProfileLinear eq
2 parents da0ab64 + 33b780a commit f2d5cd6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test_autolens/lens/test_to_inversion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ def test__lp_linear_func_galaxy_dict_from(masked_imaging_7x7):
109109

110110
assert lp_linear_func_list[0].light_profile_list[0] == lp_linear_0
111111
assert lp_linear_func_list[0].light_profile_list[1] == lp_linear_1
112-
assert lp_linear_func_list[1].light_profile_list[0] == lp_linear_3
113-
assert lp_linear_func_list[2].light_profile_list[0] == lp_linear_4
112+
assert lp_linear_func_list[1].light_profile_list[0] == lp_linear_2
113+
assert lp_linear_func_list[2].light_profile_list[0] == lp_linear_3
114114

115115

116116
def test__cls_pg_list_from(masked_imaging_7x7, grid_2d_7x7):

0 commit comments

Comments
 (0)