From ece1a3a531db1c8e2aa4bc2bfab1e5e1a192eb00 Mon Sep 17 00:00:00 2001 From: David Wells Date: Wed, 1 Jun 2022 22:28:27 -0400 Subject: [PATCH] Fix compilation with CGAL. --- include/deal.II/cgal/utilities.h | 2 +- tests/cgal/cgal_quadrature_01.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/cgal/utilities.h b/include/deal.II/cgal/utilities.h index 56a2a8c663..5d5b974a11 100644 --- a/include/deal.II/cgal/utilities.h +++ b/include/deal.II/cgal/utilities.h @@ -571,7 +571,7 @@ namespace CGALWrappers using Mesh_criteria = CGAL::Mesh_criteria_3; using C3t3 = CGAL::Mesh_complex_3_in_triangulation_3; C3t3 tria; - cgal_surface_mesh_to_cgal_coarse_triangulation(out_surface, tria); + cgal_surface_mesh_to_cgal_triangulation(out_surface, tria); return compute_quadrature(tria, degree); } } diff --git a/tests/cgal/cgal_quadrature_01.cc b/tests/cgal/cgal_quadrature_01.cc index 3f0ac6472b..0ab482fcd4 100644 --- a/tests/cgal/cgal_quadrature_01.cc +++ b/tests/cgal/cgal_quadrature_01.cc @@ -59,7 +59,7 @@ test() { std::ifstream input(name); input >> sm; - cgal_surface_mesh_to_cgal_coarse_triangulation(sm, tria); + cgal_surface_mesh_to_cgal_triangulation(sm, tria); auto b = compute_quadrature(tria, degree); deallog << "Volume of poly with Quadrature: " << std::setprecision(12) << std::accumulate(b.get_weights().begin(), -- 2.39.5