diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-03-05 10:03:26 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-03-05 10:03:26 +0100 |
commit | 5b5e9fce6a80151f29f98dde67f5e4150edb9a5b (patch) | |
tree | 9c6802c0b62078dc56e1f474048d92009f94bbb1 /src/Simplex_tree/include/gudhi | |
parent | 73194242e1c8012c1320a7581a382a3b2b59eb09 (diff) |
Add some tests and documentation for NaN management in make_filtration_non_decreasing Simplex tree method
Diffstat (limited to 'src/Simplex_tree/include/gudhi')
-rw-r--r-- | src/Simplex_tree/include/gudhi/Simplex_tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h index 5110819f..7b39a500 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -1317,6 +1317,8 @@ class Simplex_tree { * \post Some simplex tree functions require the filtration to be valid. `make_filtration_non_decreasing()` * function is not launching `initialize_filtration()` but returns the filtration modification information. If the * complex has changed , please call `initialize_filtration()` to recompute it. + * + * If a simplex has a `NaN` filtration value, it is considered lower than any other defined filtration value. */ bool make_filtration_non_decreasing() { bool modified = false; |