summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Alpha_shapes/include/gudhi/Alpha_shapes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Alpha_shapes/include/gudhi/Alpha_shapes.h b/src/Alpha_shapes/include/gudhi/Alpha_shapes.h
index e988f683..b8efdb4d 100644
--- a/src/Alpha_shapes/include/gudhi/Alpha_shapes.h
+++ b/src/Alpha_shapes/include/gudhi/Alpha_shapes.h
@@ -171,7 +171,7 @@ class Alpha_shapes {
/** \brief Returns the number of simplices in the complex.
*
* Does not count the empty simplex. */
- unsigned int num_simplices() const {
+ const unsigned int& num_simplices() const {
return _st.num_simplices();
}