summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-10-26 10:56:25 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-10-26 10:56:25 +0100
commitafafd56fdb4a53b66ca3354fc20f787f12340fa4 (patch)
treefd8c4f35e39734c9d434862bfb9d4e7fe1344912
parent30efe05d095051e14cbaf26d12fc2a67134e5a60 (diff)
for CGAL 5.2 pre-release to work
-rw-r--r--src/Alpha_complex/include/gudhi/Alpha_complex/Alpha_kernel_d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex/Alpha_kernel_d.h b/src/Alpha_complex/include/gudhi/Alpha_complex/Alpha_kernel_d.h
index fbb931d4..28d6d7a9 100644
--- a/src/Alpha_complex/include/gudhi/Alpha_complex/Alpha_kernel_d.h
+++ b/src/Alpha_complex/include/gudhi/Alpha_complex/Alpha_kernel_d.h
@@ -106,7 +106,7 @@ class Alpha_kernel_d<Kernel, true> {
template<class PointIterator>
Sphere get_sphere(PointIterator begin, PointIterator end) const {
// power_center_d_object has been renamed between CGAL 5.1 and 5.2
-#if CGAL_VERSION_NR < 1050201000
+#if CGAL_VERSION_NR < 1050200000
return kernel_.power_center_d_object()(begin, end);
#else
return kernel_.construct_power_sphere_d_object()(begin, end);
@@ -124,7 +124,7 @@ class Alpha_kernel_d<Kernel, true> {
bool is_gabriel(const Sphere& circumcenter, const Weighted_point_d& point) {
// power_center_d_object has been renamed between CGAL 5.1 and 5.2
-#if CGAL_VERSION_NR < 1050201000
+#if CGAL_VERSION_NR < 1050200000
return kernel_.power_distance_d_object()(circumcenter, point) >= 0;
#else
return kernel_.compute_power_product_d_object()(circumcenter, point) >= 0;