Skip to content

Commit 2b31e98

Browse files
Jammy2211Jammy2211
authored andcommitted
dont do array thing
1 parent 668aa42 commit 2b31e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoarray/inversion/inversion/mapper_valued.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def max_pixel_centre(self) -> Grid2DIrregular:
166166
max_pixel = np.argmax(self.values_masked)
167167

168168
max_pixel_centre = Grid2DIrregular(
169-
values=[self.mapper.source_plane_mesh_grid.array[max_pixel]]
169+
values=[self.mapper.source_plane_mesh_grid[max_pixel]]
170170
)
171171

172172
return max_pixel_centre

0 commit comments

Comments
 (0)