Skip to content

Commit 37e81f1

Browse files
committed
fix voronoi unit test in structures
1 parent ec1e81e commit 37e81f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • autoarray/inversion/pixelization/image_mesh

autoarray/inversion/pixelization/image_mesh/overlay.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,11 @@ def image_plane_mesh_grid_from(
220220
origin=origin,
221221
)
222222

223-
overlaid_centres = geometry_util.grid_pixel_centres_2d_slim_from(
223+
overlaid_centres = np.array(geometry_util.grid_pixel_centres_2d_slim_from(
224224
grid_scaled_2d_slim=unmasked_overlay_grid,
225225
shape_native=mask.shape_native,
226226
pixel_scales=mask.pixel_scales,
227-
).astype("int")
227+
)).astype("int")
228228

229229
total_pixels = total_pixels_2d_from(
230230
mask_2d=mask.array,

0 commit comments

Comments
 (0)