]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Explicitly use two template arguments even if one is defaulted. Clang
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 03:56:48 +0000 (03:56 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 03:56:48 +0000 (03:56 +0000)
trips over this otherwise (incorrectly so, but it's easy to work
around anyway).

git-svn-id: https://svn.dealii.org/trunk@24146 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/tria_boundary.cc

index cf835fe6d0d2011b70973e37d3e81c9bd5c068ae..6b4a049a11298bca8817c06b8a18dddbec9b3312 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -476,7 +476,7 @@ template <>
 void
 StraightBoundary<1>::
 get_normals_at_vertices (const Triangulation<1>::face_iterator &,
-                        Boundary<1>::FaceVertexNormals &) const
+                        Boundary<1,1>::FaceVertexNormals &) const
 {
   Assert (false, ExcImpossibleInDim(1));
 }
@@ -496,7 +496,7 @@ template <>
 void
 StraightBoundary<2>::
 get_normals_at_vertices (const Triangulation<2>::face_iterator &face,
-                        Boundary<2>::FaceVertexNormals &face_vertex_normals) const
+                        Boundary<2,2>::FaceVertexNormals &face_vertex_normals) const
 {
   const Tensor<1,2> tangent = face->vertex(1) - face->vertex(0);
   for (unsigned int vertex=0; vertex<GeometryInfo<2>::vertices_per_face; ++vertex)

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.