diff --git a/doc/releases/v0.6.txt b/doc/releases/v0.6.txt index d751c468..7fedbe88 100644 --- a/doc/releases/v0.6.txt +++ b/doc/releases/v0.6.txt @@ -1,3 +1,16 @@ +v0.6.4 +------ + +trackpy v0.6.4 is a minor compatibility update for numpy v2.0 + +Dependencies +~~~~~~~~~~~~ +- Adds support for numpy 2.0 (@nkeim, #770). Note that as of this writing, + pytables (an optional dependency for trackpy) does not yet support + numpy 2.0 (see https://github.com/PyTables/PyTables/issues/1172 and + #768). + + v0.6.3 ------ diff --git a/trackpy/linking/subnetlinker.py b/trackpy/linking/subnetlinker.py index a43b428b..b7b1d3be 100644 --- a/trackpy/linking/subnetlinker.py +++ b/trackpy/linking/subnetlinker.py @@ -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