From 8e7ea14f5897b656faf9248185645a93e38ebee3 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Wed, 14 Apr 2021 10:57:53 +0200 Subject: [PATCH] Fix conversion warning --- .../include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h b/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h index cb75e254f24..8e3e261e990 100644 --- a/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h +++ b/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h @@ -120,7 +120,7 @@ public: m_octree.refine(maxLevel, bucketSize); - m_width = 0.5 * FT(m_octree.bbox(m_octree.root()).xmax() - m_octree.bbox(m_octree.root()).xmin()); + m_width = FT(0.5) * FT(m_octree.bbox(m_octree.root()).xmax() - m_octree.bbox(m_octree.root()).xmin()); } const typename Traits::FT& width() const {