summaryrefslogtreecommitdiff
path: root/src/GudhUI/utils/Vertex_collapsor.h
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-28 10:32:51 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-28 10:32:51 +0000
commit4540f8841fa9b8846012dc3cc7e8a20007d1a97f (patch)
tree4cdd6f0861eca43e1583948c471a0b9679759c36 /src/GudhUI/utils/Vertex_collapsor.h
parentf0e209149a6bf1d3b13572f3704986a429130a48 (diff)
parent6ed42daddfede2288bc02ab2e98fc12b47cac74e (diff)
Merge last trunk modifications
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@2263 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 9b430e79ecc94bee975d748eb3e2106c7dbab3ce
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);
}
};