Skip to content

Commit

Permalink
[PY] Fix bad rebase
Browse files Browse the repository at this point in the history
Signed-off-by: julian <[email protected]>
  • Loading branch information
MonkeyBreaker committed Aug 17, 2022
1 parent 38e9246 commit 31015b0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions gph/python/ripser_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@
MAX_COEFF_SUPPORTED = gph_ripser.get_max_coefficient_field_supported()


def _compute_ph_vr_dense(DParam, maxHomDim, thresh=-1, coeff=2, n_threads=1,
return_generators=False, return_cocycles=False):
def _compute_ph_vr_dense(DParam, diagonal, maxHomDim, thresh=-1, coeff=2,
n_threads=1, return_generators=False,
return_cocycles=False):
if coeff == 2:
ret = gph_ripser.rips_dm(DParam, DParam.shape[0], coeff,
ret = gph_ripser.rips_dm(DParam, diagonal, coeff,
maxHomDim, thresh, n_threads,
return_generators, return_cocycles)
else:
ret = gph_ripser_coeff.rips_dm(DParam, DParam.shape[0], coeff,
ret = gph_ripser_coeff.rips_dm(DParam, diagonal, coeff,
maxHomDim, thresh, n_threads,
return_generators, return_cocycles)
return ret
Expand Down

0 comments on commit 31015b0

Please sign in to comment.