Skip to content

Commit

Permalink
MNT: numpy v2.0 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nkeim committed Jul 10, 2024
1 parent 09ad08f commit 2359ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trackpy/linking/subnetlinker.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, s_sn, dest_size, search_range, max_size=30):
self.max_links = min(self.MAX, dest_size)
self.best_pairs = None
self.cur_pairs = deque([])
self.best_sum = np.Inf
self.best_sum = np.inf
self.d_taken = set()
self.cur_sum = 0

Expand Down

0 comments on commit 2359ddb

Please sign in to comment.