Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: persim.bottleneck returns 0 for distinct diagrams #70

Closed
alperenkaran opened this issue Oct 7, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@alperenkaran
Copy link

Description:

The persim.bottleneck function returns an incorrect result for some input persistence diagrams. When using dgm1 = np.array([[0, 10]]) and dgm2 = np.array([[5, 5]]), the function incorrectly evaluates and returns 0, which is inconsistent with the expected behavior.

Environment:
Python version: 3.9.13
Persim version: 0.3.1

@ctralie
Copy link
Member

ctralie commented Oct 8, 2023 via email

@catanzaromj catanzaromj added the bug Something isn't working label Oct 23, 2023
@catanzaromj catanzaromj self-assigned this Feb 25, 2024
@catanzaromj
Copy link
Contributor

@alperenkaran This specific bug should be fixed in v0.3.4. Let us know if you have any more questions. Thanks for finding this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants