summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranmoreau <anmoreau@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-06-23 15:17:53 +0000
committeranmoreau <anmoreau@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-06-23 15:17:53 +0000
commit39dbac0617b4a542f47225a9dcf6f088a12be5be (patch)
tree091e3139a8e8ef72004ffb4e90037ab5781c02dc
parent4eb1939d74050c9193daecba2f69471b915180b2 (diff)
multiple fix
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/coface@636 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 36023554707626e7c66d52777f4d4b9245e95317
-rw-r--r--src/Simplex_tree/include/gudhi/Simplex_tree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h
index a355c334..ad9f7dd7 100644
--- a/src/Simplex_tree/include/gudhi/Simplex_tree.h
+++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h
@@ -258,7 +258,7 @@ class Simplex_tree {
* equal to \f$(-1)^{\text{dim} \sigma}\f$ the canonical orientation on the simplex.
*/
Simplex_vertex_range simplex_vertex_range(Simplex_handle sh) {
-// assert (simplex != null_simplex()); // Empty simplex
+ assert (sh != null_simplex()); // Empty simplex
return Simplex_vertex_range(Simplex_vertex_iterator(this, sh),
Simplex_vertex_iterator(this));
}
@@ -698,7 +698,6 @@ public:
Coface_simplex_range coface_simplex_range(const Simplex_handle simplex, int codimension) {
std::vector<Simplex_handle> cofaces;
- assert (simplex != null_simplex()); // Empty simplex
assert (codimension >= 0); // codimension must be positive or null integer
Simplex_vertex_range rg = simplex_vertex_range(simplex);
std::vector<Vertex_handle> copy(rg.begin(), rg.end());