diff options
Diffstat (limited to 'src/cython/include')
-rw-r--r-- | src/cython/include/Rips_complex_interface.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cython/include/Rips_complex_interface.h b/src/cython/include/Rips_complex_interface.h index f6fc79a1..1a6e2477 100644 --- a/src/cython/include/Rips_complex_interface.h +++ b/src/cython/include/Rips_complex_interface.h @@ -67,14 +67,16 @@ class Rips_complex_interface { rips_complex_->create_complex(*simplex_tree, dim_max); else { sparse_rips_complex_->create_complex(*simplex_tree, dim_max); - // This pruning should be done much earlier! It isn't that useful for sparse Rips, but it would be inconsistent not to do it. + // This pruning should be done much earlier! It isn't that useful for sparse Rips, + // but it would be inconsistent not to do it. simplex_tree->prune_above_filtration(threshold_); } simplex_tree->initialize_filtration(); } private: - // std::variant would work, but we don't require C++17 yet, and boost::variant is not super convenient. Anyway, storing a graph would make more sense. Or changing the interface completely so there is no such storage. + // std::variant would work, but we don't require C++17 yet, and boost::variant is not super convenient. + // Anyway, storing a graph would make more sense. Or changing the interface completely so there is no such storage. boost::optional<Rips_complex<Simplex_tree_interface<>::Filtration_value>> rips_complex_; boost::optional<Sparse_rips_complex<Simplex_tree_interface<>::Filtration_value>> sparse_rips_complex_; double threshold_; |