Closed grjd closed 6 years ago
I'm conflicted on the right way to handle this. I'm reluctant to add the error checking during the boundary construction in C++ — that goes against the general spirit of efficiency. On the other hand, I understand the problem for a novice user.
I'll think about it. Maybe the right solution is to add a check to the Python bindings directly.
It may be helpful to print out an error message when calling homology_persistence(f) with a filtration that is not correctly input. For example,
Segmentation fault: 11