From 346ba542c13db7e49e6d81412144ed21ac46bd83 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Thu, 21 Sep 2017 06:41:40 +0000 Subject: Remove set_dimension from examples git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_automatic_dimension_set@2698 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: cde0919e6bb53ad8ace21f1c6894708468449276 --- src/Simplex_tree/example/mini_simplex_tree.cpp | 2 -- src/Simplex_tree/example/simple_simplex_tree.cpp | 1 - 2 files changed, 3 deletions(-) (limited to 'src/Simplex_tree') diff --git a/src/Simplex_tree/example/mini_simplex_tree.cpp b/src/Simplex_tree/example/mini_simplex_tree.cpp index ad99df23..19e45361 100644 --- a/src/Simplex_tree/example/mini_simplex_tree.cpp +++ b/src/Simplex_tree/example/mini_simplex_tree.cpp @@ -52,8 +52,6 @@ int main() { auto edge03 = {0, 3}; st.insert_simplex_and_subfaces(triangle012); st.insert_simplex_and_subfaces(edge03); - // FIXME: Remove this line - st.set_dimension(2); auto edge02 = {0, 2}; ST::Simplex_handle e = st.find(edge02); diff --git a/src/Simplex_tree/example/simple_simplex_tree.cpp b/src/Simplex_tree/example/simple_simplex_tree.cpp index 60f9a35e..26d663fb 100644 --- a/src/Simplex_tree/example/simple_simplex_tree.cpp +++ b/src/Simplex_tree/example/simple_simplex_tree.cpp @@ -186,7 +186,6 @@ int main(int argc, char * const argv[]) { // ++ GENERAL VARIABLE SET simplexTree.set_filtration(FOURTH_FILTRATION_VALUE); // Max filtration value - simplexTree.set_dimension(2); // Max dimension = 2 -> (2,1,0) std::cout << "********************************************************************\n"; // Display the Simplex_tree - Can not be done in the middle of 2 inserts -- cgit v1.2.3