summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();