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