From 07df1e7f9b4b126cec041095868735b639be4e39 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 18 Jan 2024 12:50:00 -0600 Subject: [PATCH] DofTools: add missing codimension-one instantiation --- source/dofs/dof_tools_sparsity.inst.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source/dofs/dof_tools_sparsity.inst.in b/source/dofs/dof_tools_sparsity.inst.in index 0a7430be4e..144f1ffd4a 100644 --- a/source/dofs/dof_tools_sparsity.inst.in +++ b/source/dofs/dof_tools_sparsity.inst.in @@ -257,15 +257,17 @@ for (deal_II_dimension : DIMENSIONS) } -for (deal_II_dimension : DIMENSIONS) +for (deal_II_dimension, deal_II_space_dimension : DIMENSIONS) { +#if deal_II_dimension <= deal_II_space_dimension template Table<2, DoFTools::Coupling> DoFTools::dof_couplings_from_component_couplings( - const FiniteElement &fe, - const Table<2, DoFTools::Coupling> & component_couplings); + const FiniteElement &fe, + const Table<2, DoFTools::Coupling> &component_couplings); template std::vector> DoFTools::dof_couplings_from_component_couplings( - const hp::FECollection &fe, - const Table<2, DoFTools::Coupling> & component_couplings); + const hp::FECollection &fe, + const Table<2, DoFTools::Coupling> &component_couplings); +#endif } -- 2.39.5