summaryrefslogtreecommitdiff
path: root/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-11-15 23:33:49 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-11-15 23:33:49 +0100
commit6d2e5d1cbdecd86ad4d56fc8902542caca2cf2bd (patch)
treeaa768ca3e0e7e0ba18da655b1db4298156f5504f /src/Alpha_complex/include/gudhi/Alpha_complex_3d.h
parent4ee6ed3caa55eb8e2aec9e4bd69bb8b4561dde7e (diff)
Code review: Point_3 is an Alpha_shape_3::Point instead of std::conditionnal(...)
Diffstat (limited to 'src/Alpha_complex/include/gudhi/Alpha_complex_3d.h')
-rw-r--r--src/Alpha_complex/include/gudhi/Alpha_complex_3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h b/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h
index 70e864e6..7f96c94c 100644
--- a/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h
+++ b/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h
@@ -252,7 +252,7 @@ Weighted_alpha_complex_3d::Weighted_point_3 wp0(Weighted_alpha_complex_3d::Bare_
/** \brief `Alpha_complex_3d::Point_3` type is either a `Alpha_complex_3d::Bare_point_3` (Weighted = false) or a
* `Alpha_complex_3d::Weighted_point_3` (Weighted = true).
*/
- using Point_3 = typename std::conditional<Weighted, Weighted_point_3, Bare_point_3>::type;
+ using Point_3 = typename Alpha_shape_3::Point;
private:
using Dispatch =