You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we convert indices to 32-bit ints. In the C++ code, is every index a 64-bit integer? It seems to me that the case of sparse matrices is one in which indices can be very large, so 64-bit ints might make sense. For dense matrices, there is no way int32 is not enough!
The text was updated successfully, but these errors were encountered:
In the C++ backend and the bindings, we use int64_t as index vertice type.
But as you point out, not in the Python interface. This is a legacy from ripser.py where they cast to int32 for their bindings.
ulupo
added a commit
to ulupo/giotto-ph
that referenced
this issue
Oct 25, 2021
Here:
giotto-ph/gph/python/ripser_interface.py
Lines 458 to 459 in 1d0c628
we convert indices to 32-bit ints. In the C++ code, is every index a 64-bit integer? It seems to me that the case of sparse matrices is one in which indices can be very large, so 64-bit ints might make sense. For dense matrices, there is no way int32 is not enough!
The text was updated successfully, but these errors were encountered: