summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-10-05 15:29:25 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-10-05 15:29:25 +0200
commit298925b9c2dc3629f2d20ad9b85f5a410dee6fab (patch)
treeb83fd1bb914a38d351ec340f16c4a0911885196e
parentd6ca67fee4f9c2a97b64710a5b70ed66dd307372 (diff)
code review: use geom_trait for Point_d type
-rw-r--r--src/Alpha_complex/include/gudhi/Alpha_complex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex.h b/src/Alpha_complex/include/gudhi/Alpha_complex.h
index ae04e6e8..1963f02b 100644
--- a/src/Alpha_complex/include/gudhi/Alpha_complex.h
+++ b/src/Alpha_complex/include/gudhi/Alpha_complex.h
@@ -124,7 +124,7 @@ class Alpha_complex {
using Sphere = typename A_kernel_d::Sphere;
/** \brief A point, or a weighted point in Euclidean space.*/
- using Point_d = std::conditional_t<Weighted, typename A_kernel_d::Weighted_point_d, typename A_kernel_d::Point_d>;
+ using Point_d = typename Geom_traits::Point_d;
private:
// Vertex_iterator type from CGAL.