]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Spelling out template arguments for clarity.
authorGuilhem Poy <guilhem.poy@umontpellier.fr>
Thu, 8 May 2025 06:14:55 +0000 (08:14 +0200)
committerGuilhem Poy <guilhem.poy@umontpellier.fr>
Thu, 8 May 2025 06:14:55 +0000 (08:14 +0200)
include/deal.II/fe/fe_tools_extrapolate.templates.h

index d2d7179ecb126a02ee578ecf5ee54711fb5d9bc1..080c88069d9f21fff856d1bcdd6eae7894e4227e 100644 (file)
@@ -707,15 +707,14 @@ namespace FETools
     template <typename T>
     inline constexpr bool is_la_vector = false;
 
-    template <typename... Ts>
+    template <typename Number, typename MemorySpace>
     inline constexpr bool
-      is_la_vector<LinearAlgebra::distributed::Vector<Ts...>> =
+      is_la_vector<LinearAlgebra::distributed::Vector<Number, MemorySpace>> =
         true;
 
-    template <typename... Ts>
-    inline constexpr bool
-      is_la_vector<LinearAlgebra::distributed::BlockVector<Ts...>> =
-        true;
+    template <typename Number, typename MemorySpace>
+    inline constexpr bool is_la_vector<
+      LinearAlgebra::distributed::BlockVector<Number, MemorySpace>> = true;
 
     template <int dim, int spacedim, class OutVector>
     void

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.