From 2696c11a8ff2b5c2abb9a528d28a8a87f8a57e4b Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Tue, 11 Oct 2022 10:58:08 +0200 Subject: [PATCH] double/float inconsistency --- .../CGAL/Tetrahedral_remeshing/internal/smooth_vertices.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/smooth_vertices.h b/Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/smooth_vertices.h index 745f89bb1d2..a34f0b847bc 100644 --- a/Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/smooth_vertices.h +++ b/Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/smooth_vertices.h @@ -48,6 +48,7 @@ class Tetrahedral_remeshing_smoother typedef typename Tr::Geom_traits Gt; typedef typename Gt::Vector_3 Vector_3; typedef typename Gt::Point_3 Point_3; + typedef typename Gt::FT FT; private: typedef CGAL::Tetrahedral_remeshing::internal::FMLS FMLS; @@ -332,9 +333,9 @@ private: const CellRange& inc_cells, const Tr& /* tr */, #ifdef CGAL_TETRAHEDRAL_REMESHING_VERBOSE - double& total_move) + FT& total_move) #else - double&) + FT&) #endif { const typename Tr::Point backup = v->point(); //backup v's position