Skip to content

Commit

Permalink
[TEST] Remove warnings
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 31015b0 commit 2ab0b4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion gph/python/ripser_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def ripser_parallel(X, maxdim=1, thresh=np.inf, coeff=2, metric="euclidean",
ccl = np.reshape(np.array(ccl, dtype=np.int64), [n, dim + 2])
ccl[:, -1] = np.mod(ccl[:, -1], coeff)
cocycles[dim].append(ccl)
cocycles = np.asarray(cocycles)
cocycles = np.asarray(cocycles, dtype=object)

ret["cocycles"] = cocycles

Expand Down
1 change: 0 additions & 1 deletion gph/python/test/test_ripser.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@ def test_infinite_deaths_always_essential():
assert len(gens_fin_dim1) == 0


@pytest.mark.xfail
def test_cocycles_in_persistence_pair():
"""Test for a simple cocycle in a persistence pair
The data and the results are taken from cocycles notebook of
Expand Down

0 comments on commit 2ab0b4b

Please sign in to comment.