From 627cdc22f7e638af7dfd849a0faea3a09caeb2f2 Mon Sep 17 00:00:00 2001 From: Karl Ljungkvist Date: Mon, 21 Nov 2016 09:28:11 +0100 Subject: [PATCH] add guard to only compile with sensible combinations --- source/multigrid/mg_transfer_internal.inst.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \} \} } -- 2.39.5