We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b651c0 commit ddbec19Copy full SHA for ddbec19
autoarray/inversion/mesh/interpolator/knn.py
@@ -147,9 +147,9 @@ class InterpolatorKNearestNeighbor(InterpolatorDelaunay):
147
def _mappings_sizes_weights(self):
148
149
try:
150
- query_points = self.data_grid.over_sampled
+ query_points = self.data_grid.over_sampled.array
151
except AttributeError:
152
- query_points = self.data_grid
+ query_points = self.data_grid.array
153
154
mappings, weights, _ = get_interpolation_weights(
155
points=self.mesh_grid_xy,
0 commit comments