diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-11-24 10:22:49 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-11-24 10:22:49 +0000 |
commit | 85ed4b13bfc4289a5cbcb4e3d7cd4cae60078982 (patch) | |
tree | 31a3639d8a70f41492e9077868cfdf8069d49262 /src/Simplex_tree/include | |
parent | 8c74e165a4ab812d19a7eaafee178eb6591be4dc (diff) | |
parent | fbcb92c5b210d62d0a71e4001e51bc4ea3e81662 (diff) |
Merge ST-doc-simplex branch
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@2953 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 6a2e9879d7374ce337b2be7a445d8f4adce1f332
Diffstat (limited to 'src/Simplex_tree/include')
-rw-r--r-- | src/Simplex_tree/include/gudhi/Simplex_tree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h index 96e6007c..cb6ab309 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -391,13 +391,13 @@ class Simplex_tree { return sh->second.key(); } - /** \brief Returns the simplex associated to a key. + /** \brief Returns the simplex that has index idx in the filtration. * * The filtration must be initialized. * \pre SimplexTreeOptions::store_key */ - Simplex_handle simplex(Simplex_key key) const { - return filtration_vect_[key]; + Simplex_handle simplex(Simplex_key idx) const { + return filtration_vect_[idx]; } /** \brief Returns the filtration value of a simplex. |