-
Notifications
You must be signed in to change notification settings - Fork 12
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
maxdim=0 #39
Comments
Signed-off-by: julian <julian.burellaperez@heig-vd.ch>
Hello, Thank you for reporting the issue. After debugging what was going on, I found out a fix. Sorry that you encountered a bug and thank you for reporting it with an example. Best, |
* [TEST] Add regression test for issue #39 Signed-off-by: julian <julian.burellaperez@heig-vd.ch> * [CPP] Fix issue when maxdim == 0 get_zero_apparent_cofacet was assuming that we were calling the function with maxdim > 0 inside of method compute_dim_0 Signed-off-by: julian <julian.burellaperez@heig-vd.ch> * [TEST] Update test test_ph_maxdim_0 Now the test also computes with maxdim == 1 and compares barcodes in dimension 0 for both runs Signed-off-by: julian <julian.burellaperez@heig-vd.ch> * [TEST] Use as suggested by @ulupo assert_array_equal Signed-off-by: julian <julian.burellaperez@heig-vd.ch> * [TEST] Update with @ulupo suggestions Signed-off-by: julian <julian.burellaperez@heig-vd.ch>
The fix is now merged but currently not available in PyPI. |
Hello,
I tried to run
gph.ripser_parallel(np.array([[1.,2],[3,4],[5,0]]), maxdim=0)
but it segfaults (while it works with maxdim=1).The text was updated successfully, but these errors were encountered: