Skip to content

Commit

Permalink
bool
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-desroches committed Jul 20, 2023
1 parent 973c04d commit 0e07d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rednose/helpers/feature_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 0e07d37

Please sign in to comment.