summaryrefslogtreecommitdiff
path: root/include/gudhi/Alpha_complex.h
diff options
context:
space:
mode:
authorGard Spreemann <gspreemann@gmail.com>2018-02-02 14:03:28 +0100
committerGard Spreemann <gspreemann@gmail.com>2018-02-02 14:03:28 +0100
commit8e51c74d8855a641c006765ee246402e218828f3 (patch)
treefcd070128c18c0b8cb16c841911c2fba3e209e96 /include/gudhi/Alpha_complex.h
parent0b7c2ce340ece752c4d1b799a94419ca248eb71f (diff)
parent9899ae167f281d10b1684dfcd02c6838c5bf28df (diff)
Merge branch 'upstream/latest' into dfsg/latest
Diffstat (limited to 'include/gudhi/Alpha_complex.h')
-rw-r--r--include/gudhi/Alpha_complex.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/gudhi/Alpha_complex.h b/include/gudhi/Alpha_complex.h
index 1ff95c3d..63c6675c 100644
--- a/include/gudhi/Alpha_complex.h
+++ b/include/gudhi/Alpha_complex.h
@@ -175,7 +175,7 @@ class Alpha_complex {
*
* @return The number of vertices.
*/
- const std::size_t number_of_vertices() const {
+ std::size_t number_of_vertices() const {
return vertex_handle_to_iterator_.size();
}
@@ -268,8 +268,6 @@ class Alpha_complex {
return false; // ----- >>
}
- complex.set_dimension(triangulation_->maximal_dimension());
-
// --------------------------------------------------------------------------------------------
// Simplex_tree construction from loop on triangulation finite full cells list
if (triangulation_->number_of_vertices() > 0) {