summaryrefslogtreecommitdiff
path: root/src/Alpha_complex/include/gudhi
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-08-24 12:07:36 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-08-24 12:07:36 +0000
commit7955e76b2d410f373809a296de740c225456a0dd (patch)
tree5ad18d3e3ffd4167e404d7de41dc42770786833d /src/Alpha_complex/include/gudhi
parent12814e8ef128d4d19d633ce2b6931d4599ce15ba (diff)
get_point is const
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@754 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: fb4be75f9438bab94b68f551ae3bde73c980d131
Diffstat (limited to 'src/Alpha_complex/include/gudhi')
-rw-r--r--src/Alpha_complex/include/gudhi/Alpha_complex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex.h b/src/Alpha_complex/include/gudhi/Alpha_complex.h
index 518d1792..04fb185c 100644
--- a/src/Alpha_complex/include/gudhi/Alpha_complex.h
+++ b/src/Alpha_complex/include/gudhi/Alpha_complex.h
@@ -166,7 +166,7 @@ class Alpha_complex : public Simplex_tree<> {
* @return The founded point.
* @warning Exception std::out_of_range is thrown in case vertex is not in the map vertex_handle_to_iterator_.
*/
- Point_d get_point(Vertex_handle vertex) {
+ Point_d get_point(Vertex_handle vertex) const {
auto found_it = vertex_handle_to_iterator_.find(vertex);
if (found_it != vertex_handle_to_iterator_.end()) {
return found_it->second->point();