summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-03-23 12:14:51 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-03-23 12:14:51 +0100
commit24b751dd555236a522a40c07e25cf4a2e291f194 (patch)
treeb8e2a47828f14d15f70ac8d685c3565d595c5b00
parent59585b27d83f3835f46a47c90c732bdb2a19d376 (diff)
Code review: use complex_simplex_range instead of the filtration one
-rw-r--r--src/Alpha_complex/test/Delaunay_complex_unit_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Alpha_complex/test/Delaunay_complex_unit_test.cpp b/src/Alpha_complex/test/Delaunay_complex_unit_test.cpp
index 71164705..fa97f249 100644
--- a/src/Alpha_complex/test/Delaunay_complex_unit_test.cpp
+++ b/src/Alpha_complex/test/Delaunay_complex_unit_test.cpp
@@ -51,14 +51,13 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(Alpha_complex_from_OFF_file, TestedKernel, list_of
// Alpha complex
Gudhi::Simplex_tree<> stree_from_alpha_complex;
BOOST_CHECK(alpha_complex.create_complex(stree_from_alpha_complex));
- stree_from_alpha_complex.initialize_filtration();
// Delaunay complex
Gudhi::Simplex_tree<> stree_from_delaunay_complex;
BOOST_CHECK(alpha_complex.create_complex(stree_from_delaunay_complex, 0., false, true));
// Check all the simplices from alpha complex are in the Delaunay complex
- for (auto f_simplex : stree_from_alpha_complex.filtration_simplex_range()) {
+ for (auto f_simplex : stree_from_alpha_complex.complex_simplex_range()) {
std::vector<Gudhi::Simplex_tree<>::Vertex_handle> simplex;
for (Gudhi::Simplex_tree<>::Vertex_handle vertex : stree_from_alpha_complex.simplex_vertex_range(f_simplex)) {
std::cout << "(" << vertex << ")";