From: Karl Ljungkvist Date: Mon, 21 Nov 2016 08:28:11 +0000 (+0100) Subject: add guard to only compile with sensible combinations X-Git-Tag: v8.5.0-rc1~378^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3594%2Fhead;p=dealii.git add guard to only compile with sensible combinations --- diff --git a/source/multigrid/mg_transfer_internal.inst.in b/source/multigrid/mg_transfer_internal.inst.in index baba487b99..bab949b153 100644 --- a/source/multigrid/mg_transfer_internal.inst.in +++ b/source/multigrid/mg_transfer_internal.inst.in @@ -23,6 +23,7 @@ for (deal_II_dimension : DIMENSIONS; namespace MGTransfer \{ +#if deal_II_dimension <= deal_II_space_dimension template void fill_copy_indices( const dealii::DoFHandler&, @@ -30,7 +31,7 @@ for (deal_II_dimension : DIMENSIONS; std::vector > > &, std::vector > > &, std::vector > > &); - +#endif \} \} }