]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation of MGTransferGlobalCoarsening::interpolate_to_mg() 12879/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 25 Oct 2021 11:26:38 +0000 (13:26 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 25 Oct 2021 11:26:38 +0000 (13:26 +0200)
include/deal.II/multigrid/mg_transfer_global_coarsening.h

index a9bdbfc5c88ca260ff2214183d0cffe4d9beee9e..13a6e9cdc991225800b06db307a6d662d5ac01a7 100644 (file)
@@ -526,7 +526,7 @@ public:
    * If an inner vector of @p dst is empty or has incorrect locally owned size,
    * it will be resized to locally relevant degrees of freedom on each level.
    */
-  template <class InVector, int spacedim>
+  template <class InVector>
   void
   interpolate_to_mg(MGLevelObject<VectorType> &dst, const InVector &src) const;
 
@@ -666,7 +666,7 @@ MGTransferGlobalCoarsening<dim, VectorType>::copy_from_mg(
 
 
 template <int dim, typename VectorType>
-template <class InVector, int spacedim>
+template <class InVector>
 void
 MGTransferGlobalCoarsening<dim, VectorType>::interpolate_to_mg(
   MGLevelObject<VectorType> &dst,

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.