Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Dec 9, 2022
1 parent 0d8a1bc commit 94635c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotiepoints/interpolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def _fill_row_borders(self):
def _interp(self):
"""Interpolate the cartesian coordinates.
"""
if np.all(self.hrow_indices == self.row_indices):
if np.array_equal(self.hrow_indices, self.row_indices):
return self._interp1d()

xpoints, ypoints = np.meshgrid(self.hrow_indices,
Expand Down

0 comments on commit 94635c9

Please sign in to comment.