summaryrefslogtreecommitdiff
path: root/src/Alpha_shapes/include/gudhi/Alpha_shapes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Alpha_shapes/include/gudhi/Alpha_shapes.h')
-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 b8efdb4d..e988f683 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. */
- const unsigned int& num_simplices() const {
+ unsigned int num_simplices() const {
return _st.num_simplices();
}