Skip to content

Commit

Permalink
Merge pull request #43 from mraspaud/fix-comparison
Browse files Browse the repository at this point in the history
Fix deprecation for numpy array equality
  • Loading branch information
djhoese committed Dec 9, 2022
2 parents 0d8a1bc + 94635c9 commit 47683b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotiepoints/interpolator.py
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 47683b5

Please sign in to comment.