Skip to content

Commit

Permalink
np.bool is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
eberrigan committed Dec 16, 2024
1 parent 7d09154 commit 4adf0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleap/nn/tracker/kalman.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ def remove_second_bests_from_cost_matrix(
cost matrix with invalid matches set to specified invalid value.
"""

valid_match_mask = np.full_like(cost_matrix, True, dtype=np.bool)
valid_match_mask = np.full_like(cost_matrix, True, dtype=bool)

rows, columns = cost_matrix.shape

Expand Down

0 comments on commit 4adf0a0

Please sign in to comment.