From c867ef620754bdf93780e1d8f0c25edf87cb0e28 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sat, 13 Dec 2008 17:17:03 +0000 Subject: [PATCH] Guard more explicit specializations to avoid multiple definitions. git-svn-id: https://svn.dealii.org/trunk@17928 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/hp/dof_handler.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deal.II/deal.II/source/hp/dof_handler.cc b/deal.II/deal.II/source/hp/dof_handler.cc index 3ef24bc51f..cfb0afbe10 100644 --- a/deal.II/deal.II/source/hp/dof_handler.cc +++ b/deal.II/deal.II/source/hp/dof_handler.cc @@ -2887,6 +2887,8 @@ namespace hp } +#if deal_II_dimension == 2 + template <> unsigned int DoFHandler<2,3>::n_boundary_dofs () const { @@ -2908,7 +2910,7 @@ namespace hp return 0; } - +#endif -- 2.39.5