From c3d1977ac1afbd4258e8dcbbd60ff4fa16d97680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Thu, 11 Jul 2019 11:30:48 +0200 Subject: [PATCH] Explicitely specify parameter blocks Might help windows...? --- .../internal/Smoothing/mesh_smoothing_impl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Smoothing/mesh_smoothing_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Smoothing/mesh_smoothing_impl.h index efdec96998e..3d2583b7d25 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Smoothing/mesh_smoothing_impl.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Smoothing/mesh_smoothing_impl.h @@ -419,6 +419,10 @@ public: ceres::Problem problem; + problem.AddParameterBlock(&x, 1); + problem.AddParameterBlock(&y, 1); + problem.AddParameterBlock(&z, 1); + for(halfedge_descriptor h : halfedges_around_source(v, mesh_)) { CGAL_assertion(!is_border(h, mesh_));