From 39dbac0617b4a542f47225a9dcf6f088a12be5be Mon Sep 17 00:00:00 2001 From: anmoreau Date: Tue, 23 Jun 2015 15:17:53 +0000 Subject: 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 --- src/Simplex_tree/include/gudhi/Simplex_tree.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Simplex_tree') 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 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 copy(rg.begin(), rg.end()); -- cgit v1.2.3