GUDHI / gudhi-devel

The GUDHI library is a generic open source C++ library, with a Python interface, for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.
https://gudhi.inria.fr/
MIT License
254 stars 65 forks source link

Missing erase after remove_if #966

Closed mglisse closed 1 year ago

mglisse commented 1 year ago

Fix #964. I don't know how I managed to miss that... It was in a place where the code was still valid, and the slowdown was limited enough not to make the runtime seem strange. Good thing one compiler decided to warn about it. It does not seem to impact the result (good), but it does improve performance (something like 20%, depending on the input).