From: Wolfgang Bangerth Date: Fri, 24 Jan 2025 00:38:07 +0000 (-0700) Subject: Make compile with the CUDA compiler. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a06d5a7393680bce29ece048ac0dc1e5e632720c;p=dealii.git Make compile with the CUDA compiler. --- diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index e1b25bc712..591a045666 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -4296,9 +4296,9 @@ namespace GridGenerator const auto embed_point = [](const double x, const double y) -> Point { if constexpr (spacedim == 2) - return {x, y}; + return Point(x, y); else if constexpr (spacedim == 3) - return {x, y, 0}; + return Point(x, y, 0); else DEAL_II_NOT_IMPLEMENTED(); };