diff --git a/deeptrack/features.py b/deeptrack/features.py index 14beec481..8e43cdf9a 100644 --- a/deeptrack/features.py +++ b/deeptrack/features.py @@ -1637,7 +1637,7 @@ def _process_and_get(self, images, **kwargs): p0[0] = np.max([p0[0], 0]) p0[1] = np.max([p0[1], 0]) - p0 = p0.astype(np.int) + p0 = p0.astype(int) output_slice = output[ p0[0] : p0[0] + labelarg.shape[0],