From 24b751dd555236a522a40c07e25cf4a2e291f194 Mon Sep 17 00:00:00 2001 From: ROUVREAU Vincent Date: Mon, 23 Mar 2020 12:14:51 +0100 Subject: Code review: use complex_simplex_range instead of the filtration one --- src/Alpha_complex/test/Delaunay_complex_unit_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Alpha_complex') 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::Vertex_handle> simplex; for (Gudhi::Simplex_tree<>::Vertex_handle vertex : stree_from_alpha_complex.simplex_vertex_range(f_simplex)) { std::cout << "(" << vertex << ")"; -- cgit v1.2.3