]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Guard more explicit specializations to avoid multiple definitions.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 13 Dec 2008 17:17:03 +0000 (17:17 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 13 Dec 2008 17:17:03 +0000 (17:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@17928 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/hp/dof_handler.cc

index 3ef24bc51f68e03e39146eb0b7e7d48b6a28de4d..cfb0afbe10fd7d1e6f2aee521b979cceaed82179 100644 (file)
@@ -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
 
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.