Skip to content

Commit 5ac11e5

Browse files
committed
More 'int's needed
(see previous commit)
1 parent fa7f543 commit 5ac11e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/py_eddy_tracker/dataset/grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def nearest_grd_indice(self, x, y):
744744
Returns:
745745
746746
"""
747-
return round(interp(x, self.x_bounds, self.xinterp)), round(interp(y, self.y_bounds, self.yinterp))
747+
return round(interp(x, self.x_bounds, self.xinterp)).astype(int), round(interp(y, self.y_bounds, self.yinterp).astype(int))
748748

749749
@property
750750
def xstep(self):

0 commit comments

Comments
 (0)