From 02c02308e41ace48793e638dd1e67d58d659abbe Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Wed, 13 Jan 2021 10:55:53 +1100 Subject: [PATCH] build_CGAL5 Gbp-Pq: Name build_CGAL5.patch --- src/SurfaceReconstruction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SurfaceReconstruction.cpp b/src/SurfaceReconstruction.cpp index 6d4fbd7..c956895 100644 --- a/src/SurfaceReconstruction.cpp +++ b/src/SurfaceReconstruction.cpp @@ -21,7 +21,7 @@ #include #define CGAL_EIGEN3_ENABLED true -#include +#include #include #include #include @@ -230,7 +230,7 @@ void mshr::SurfaceReconstruction::reconstruct(const std::vector& vertice } // Computes average spacing log(dolfin::TRACE, "Compute average spacing"); - FT average_spacing = CGAL::compute_average_spacing(points.begin(), points.end(), + FT average_spacing = CGAL::compute_average_spacing(points, 6 /* knn = 1 ring */); // Gets one point inside the implicit surface // and computes implicit function bounding sphere radius. -- 2.30.2