diff --git a/tsdate/core.py b/tsdate/core.py index 16826bbc..a207088a 100644 --- a/tsdate/core.py +++ b/tsdate/core.py @@ -190,7 +190,7 @@ def precalculate_mutation_likelihoods(self, num_threads=None, unique_method=0): else: fixed_nodes = np.array(list(self.fixednodes)) keys = np.unique( - np.core.records.fromarrays( + np.rec.fromarrays( (self.mut_edges, self.ts.edges_right - self.ts.edges_left), names="muts,span", )[np.logical_not(np.isin(self.ts.edges_child, fixed_nodes))]