Skip to content

Commit 9fc3e6d

Browse files
Jammy2211Jammy2211
authored andcommitted
build fixes
1 parent 06f956f commit 9fc3e6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoarray/inversion/mesh/interpolator/delaunay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def _mappings_sizes_weights(self):
567567
sizes = self.delaunay.sizes.astype("int")
568568

569569
weights = pixel_weights_delaunay_from(
570-
data_grid=self.data_grid.over_sampled,
570+
data_grid=self.data_grid.over_sampled.array,
571571
mesh_grid=self.mesh_grid.array,
572572
pix_indexes_for_sub_slim_index=mappings,
573573
xp=self._xp,

autoarray/inversion/mesh/interpolator/rectangular_uniform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def _mappings_sizes_weights(self):
167167
mappings, weights = rectangular_mappings_weights_via_interpolation_from(
168168
shape_native=self.mesh.shape,
169169
mesh_grid=self.mesh_grid.array,
170-
data_grid=self.data_grid.over_sampled,
170+
data_grid=self.data_grid.over_sampled.array,
171171
xp=self._xp,
172172
)
173173

0 commit comments

Comments
 (0)