From: Matthias Maier Date: Wed, 28 Sep 2022 03:02:40 +0000 (-0500) Subject: CGAL: use dealii's constexpr Utilities::pow instead of std::pow X-Git-Tag: v9.5.0-rc1~920^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecb1a1a57d509019d70d518f44fbd6719f46e9aa;p=dealii.git CGAL: use dealii's constexpr Utilities::pow instead of std::pow Fixes #14319 --- diff --git a/source/cgal/intersections.cc b/source/cgal/intersections.cc index a9d189084c..0ad7918301 100644 --- a/source/cgal/intersections.cc +++ b/source/cgal/intersections.cc @@ -22,6 +22,7 @@ #ifdef DEAL_II_WITH_CGAL # include +# include # include @@ -716,19 +717,19 @@ namespace CGALWrappers ExcNotImplemented()); const auto vertices0 = - CGALWrappers::get_vertices_in_cgal_order( + CGALWrappers::get_vertices_in_cgal_order( cell0, mapping0); const auto vertices1 = - CGALWrappers::get_vertices_in_cgal_order( + CGALWrappers::get_vertices_in_cgal_order( cell1, mapping1); return compute_intersection_of_cells(vertices0, - vertices1, - tol); + Utilities::pow(2, dim0), + Utilities::pow(2, dim1)>(vertices0, + vertices1, + tol); } # include "intersections.inst"