]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make compile with the CUDA compiler.
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 24 Jan 2025 00:38:07 +0000 (17:38 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 27 Jan 2025 17:56:17 +0000 (10:56 -0700)
source/grid/grid_generator.cc

index e1b25bc712e0442c214198fbd65b01587ab6592d..591a04566668f7c3c2ff02fd8c6f6f82317d8872 100644 (file)
@@ -4296,9 +4296,9 @@ namespace GridGenerator
         const auto embed_point = [](const double x,
                                     const double y) -> Point<spacedim> {
           if constexpr (spacedim == 2)
-            return {x, y};
+            return Point<spacedim>(x, y);
           else if constexpr (spacedim == 3)
-            return {x, y, 0};
+            return Point<spacedim>(x, y, 0);
           else
             DEAL_II_NOT_IMPLEMENTED();
         };

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.