summaryrefslogtreecommitdiff
path: root/src/GudhUI/utils/Vertex_collapsor.h
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-23 14:03:37 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-23 14:03:37 +0000
commite4488910a08479f5b9becd7e95e584b0df2dc7cf (patch)
treeec15fd484a252bf846b2fb92017027032d9169ef /src/GudhUI/utils/Vertex_collapsor.h
parenteec55e8b0cf27045b72e6bd01bbe5ada07cb83cd (diff)
Rollback modif
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bad_warning_removal_rollback@2227 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 5bd3fda973c28dfb5567abbd9cf23d9d4dc653b5
Diffstat (limited to 'src/GudhUI/utils/Vertex_collapsor.h')
-rw-r--r--src/GudhUI/utils/Vertex_collapsor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GudhUI/utils/Vertex_collapsor.h b/src/GudhUI/utils/Vertex_collapsor.h
index 3f0e7ffd..568dab2f 100644
--- a/src/GudhUI/utils/Vertex_collapsor.h
+++ b/src/GudhUI/utils/Vertex_collapsor.h
@@ -80,6 +80,8 @@ template<typename SkBlComplex> class Vertex_collapsor {
if (link.empty()) return false;
if (link.is_cone()) return true;
if (link.num_connected_components() > 1) return false;
+ Edge_contractor<Complex> contractor(link, link.num_vertices() - 1);
+ (void)contractor;
return (link.num_vertices() == 1);
}
};