From 0e07d373b8715dff8a2e34ec27e1cab6c1c531ea Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Wed, 19 Jul 2023 20:27:58 -0700 Subject: [PATCH] bool --- rednose/helpers/feature_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rednose/helpers/feature_handler.py b/rednose/helpers/feature_handler.py index 473aefa..165c9a4 100755 --- a/rednose/helpers/feature_handler.py +++ b/rednose/helpers/feature_handler.py @@ -98,7 +98,7 @@ def update_tracks(self, features): real = np.isfinite(last_idxs) self.tracks[last_idxs[real].astype(int)] = self.tracks[real] - mask = np.ones(self.MAX_TRACKS, np.bool) + mask = np.ones(self.MAX_TRACKS, bool) mask[last_idxs[real].astype(int)] = 0 empty_idxs = np.arange(self.MAX_TRACKS)[mask]