Skip to content

Commit

Permalink
fix: keep old naming convention for internal variable to not break in…
Browse files Browse the repository at this point in the history
…terface until next interface-breaking version
  • Loading branch information
LuisScoccola committed Oct 18, 2023
1 parent 71ffea9 commit 7d638d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dreimac/emcoords.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def __init__(self, X, n_landmarks, distance_matrix, prime, maxdim, verbose):
print("Elapsed time persistence: %.3g seconds" % (time.time() - tic))
self._prime = prime
self._dgms = res["dgms"]
# TODO: the following is kept for backwards compatibility, remove in next interface-breaking version
self.dgms_ = self._dgms
self._idx_land = res["idx_perm"]
self._n_landmarks = len(self._idx_land)
#self.dist_land_data_ = res["dperm2all"]
Expand Down

0 comments on commit 7d638d2

Please sign in to comment.