summaryrefslogtreecommitdiff
path: root/src/Contraction
diff options
context:
space:
mode:
authorVincent Rouvreau <vincent.rouvreau@inria.fr>2022-08-09 17:52:31 +0200
committerVincent Rouvreau <vincent.rouvreau@inria.fr>2022-08-09 17:52:31 +0200
commit71cbf8f35814d247fe7421c079a6ea78da2282f4 (patch)
tree39826fa4aa201dd1611c8e5dcc79aa1e6bd29e90 /src/Contraction
parentdc7a0aed53d7b74580ed5625293e27cacd452c34 (diff)
Use CGAL::CGAL_BOOST_PENDING_RELAXED_HEAP to have the exact same result - needs to invetigate to understand why
Diffstat (limited to 'src/Contraction')
-rw-r--r--src/Contraction/include/gudhi/Skeleton_blocker_contractor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Contraction/include/gudhi/Skeleton_blocker_contractor.h b/src/Contraction/include/gudhi/Skeleton_blocker_contractor.h
index 321d80be..6911ca2e 100644
--- a/src/Contraction/include/gudhi/Skeleton_blocker_contractor.h
+++ b/src/Contraction/include/gudhi/Skeleton_blocker_contractor.h
@@ -171,7 +171,12 @@ typename GeometricSimplifiableComplex::Vertex_handle> {
Self const* algorithm_;
};
+#if CGAL_VERSION_NR < 1050500000
typedef CGAL::Modifiable_priority_queue<Edge_handle, Compare_cost, Undirected_edge_id> PQ;
+#else
+ typedef CGAL::Modifiable_priority_queue<Edge_handle, Compare_cost, Undirected_edge_id, CGAL::CGAL_BOOST_PENDING_RELAXED_HEAP> PQ;
+#endif
+
typedef bool pq_handle;