From cb1d28bf859b2cdc01330f6a67b74bbc2f37e630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 24 May 2019 13:34:50 +0200 Subject: [PATCH] Misc cleaning --- .../mesh_smoothing_example.cpp | 9 ++-- .../internal/Smoothing/mesh_smoothing_impl.h | 41 +++++++++++-------- 2 files changed, 29 insertions(+), 21 deletions(-) diff --git a/Polygon_mesh_processing/examples/Polygon_mesh_processing/mesh_smoothing_example.cpp b/Polygon_mesh_processing/examples/Polygon_mesh_processing/mesh_smoothing_example.cpp index 3e4682c7845..f47c503f4ea 100644 --- a/Polygon_mesh_processing/examples/Polygon_mesh_processing/mesh_smoothing_example.cpp +++ b/Polygon_mesh_processing/examples/Polygon_mesh_processing/mesh_smoothing_example.cpp @@ -6,12 +6,12 @@ #include #include -typedef CGAL::Exact_predicates_inexact_constructions_kernel K; -typedef CGAL::Surface_mesh Mesh; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; +typedef CGAL::Surface_mesh Mesh; namespace PMP = CGAL::Polygon_mesh_processing; -int main(int argc, char* argv[]) +int main(int argc, char** argv) { const char* filename = argc > 1 ? argv[1] : "data/eight.off"; std::ifstream input(filename); @@ -27,8 +27,9 @@ int main(int argc, char* argv[]) const unsigned int nb_iterations = 5; const double gradient_descent_precision = 1e-6; - for(unsigned int t = 0 ; t < repeat; ++t) + for(unsigned int t=0 ; t