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
245 stars 65 forks source link

[Persistence_matrix] Rows not updated when two columns from different matrices are swapped. #1086

Open hschreiber opened 1 week ago

hschreiber commented 1 week ago
Were problem can arise when swapping two columns from different matrices, is at the row access, as the cells in the rows will not be swapped (you should first unlink a column and relink it after swap). [...] Nevertheless, I realized that I never mentioned this in the doc. I could also just add the linking/unlinking in the swap operator.

_Originally posted by @hschreiber in https://github.com/GUDHI/gudhi-devel/pull/669#discussion_r1652771815_