diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-10-20 14:18:03 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-10-20 14:18:03 +0000 |
commit | 0f7b41e0357063fcb8a06b17b90fe9fe7b4bda83 (patch) | |
tree | ccae5f23ed963f6b8aa9f4130d1ad04c8e84e965 /src/Simplex_tree/include | |
parent | 6fff7c1774365f99c93d57bdf3595e6b89f16b0a (diff) |
Use simplices iterator instead of skeleton iterator
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_automatic_dimension_set@2798 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 856d2655901b01dd3e75f428f364ab7ac4f07aee
Diffstat (limited to 'src/Simplex_tree/include')
-rw-r--r-- | src/Simplex_tree/include/gudhi/Simplex_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h index 986cc071..ce0994da 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -1203,7 +1203,7 @@ class Simplex_tree { bool downgrade_dimension() { int new_dimension = -1; // Browse the tree from the left to the right as higher dimension cells are more likely on the left part of the tree - for (Simplex_handle sh : skeleton_simplex_range(dimension_)) { + for (Simplex_handle sh : complex_simplex_range()) { #ifdef DEBUG_TRACES for (auto vertex : simplex_vertex_range(sh)) { std::cout << " " << vertex; |