Skip to content

Commit 8305157

Browse files
Jammy2211Jammy2211
authored andcommitted
fix border relocator unit tests
1 parent 8442fb7 commit 8305157

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

autoarray/inversion/pixelization/border_relocator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ def __init__(
389389

390390
self.sub_border_grid = sub_grid[self.sub_border_slim]
391391

392-
@property
393392
def relocated_grid_from(self, grid: Grid2D, xp=np) -> Grid2D:
394393
"""
395394
Relocate the coordinates of a grid to the border of this grid if they are outside the border, where the

test_autoarray/inversion/pixelization/test_border_relocator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def test__relocated_grid_from__outside_border_includes_relocations():
356356
relocated_grid = border_relocator.relocated_grid_from(grid=grid)
357357

358358
assert relocated_grid.over_sampled[1] == pytest.approx(
359-
[0.97783243, 0.00968151], 1e-4
359+
[0.949953439, 0.009405479597], 1e-4
360360
)
361361

362362

0 commit comments

Comments
 (0)