Skip to content

Commit

Permalink
more casting to array
Browse files Browse the repository at this point in the history
  • Loading branch information
rhayes777 committed Dec 18, 2023
1 parent ba599f1 commit b79ae22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoarray/structures/grids/uniform_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,8 @@ def relocated_grid_from(self, grid: "Grid2D") -> "Grid2D":

return Grid2D(
values=grid_2d_util.relocated_grid_via_jit_from(
grid=grid, border_grid=self.sub_border_grid
grid=np.array(grid),
border_grid=self.sub_border_grid,
),
mask=grid.mask,
sub_size=grid.mask.sub_size,
Expand Down

0 comments on commit b79ae22

Please sign in to comment.