From: bangerth Date: Sat, 13 Dec 2008 17:07:10 +0000 (+0000) Subject: Guard two explicit specializations to avoid multiple definitions. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a43af31932374787866a1f729b4683c244f11f5;p=dealii-svn.git Guard two explicit specializations to avoid multiple definitions. git-svn-id: https://svn.dealii.org/trunk@17924 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe.cc b/deal.II/deal.II/source/fe/fe.cc index 87d25560d6..7fa616e2e5 100644 --- a/deal.II/deal.II/source/fe/fe.cc +++ b/deal.II/deal.II/source/fe/fe.cc @@ -950,6 +950,9 @@ FiniteElement::memory_consumption () const MemoryConsumption::memory_consumption (n_nonzero_components_table)); } + +#if deal_II_dimension == 1 + template<> void FiniteElement<1,2>::compute_2nd ( @@ -964,6 +967,10 @@ FiniteElement<1,2>::compute_2nd ( Assert(false, ExcNotImplemented()); } +#endif + +#if deal_II_dimension == 2 + template<> void FiniteElement<2,3>::compute_2nd ( @@ -978,6 +985,7 @@ FiniteElement<2,3>::compute_2nd ( Assert(false, ExcNotImplemented()); } +#endif template void