From a06d5a7393680bce29ece048ac0dc1e5e632720c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 23 Jan 2025 17:38:07 -0700 Subject: [PATCH] Make compile with the CUDA compiler. --- source/grid/grid_generator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }; -- 2.39.5