]> 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:18:07 +0000 (17:18 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 13 Dec 2008 17:18:07 +0000 (17:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@17929 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/matrices.cc

index acab29d6af1de3571102057986b74fe7081c6c71..2cbff4aa3ed2511751d905eede0b3199ea319097 100644 (file)
@@ -1023,6 +1023,7 @@ MatrixCreator::create_boundary_mass_matrix (const Mapping<dim, spacedim>  &mappi
 }
 
 
+#if deal_II_dimension == 2
 
 template <>
 void
@@ -1042,6 +1043,8 @@ create_boundary_mass_matrix_1<2,3> (boost::tuple<const Mapping<2,3> &,
   Assert(false,ExcNotImplemented());
 }
 
+#endif
+
 
 template <int dim, int spacedim>
 void

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.