]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add missing typenames.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 09:13:37 +0000 (09:13 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 09:13:37 +0000 (09:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@10978 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/point_inside_1.cc
tests/bits/point_inside_2.cc

index 4e6024fb09943e24c9de7258f998355670584a2c..33786f8c235189e81eaa0c073964d246bebb87f9 100644 (file)
@@ -35,7 +35,8 @@ void check ()
   GridGenerator::hyper_cube (triangulation);
   
                                   // Now get the cell
-  const Triangulation<dim>::cell_iterator cell = triangulation.begin();
+  const typename Triangulation<dim>::cell_iterator
+    cell = triangulation.begin();
     
   double testcoord[11][3] = {{0.5,0.5,0.5},
                             {2,0.5,0.5},
index 64ee0f5baaa5fe6a27b770e718866d497ba731ef..23cecd252719da3a911758305df3eb5dff3ff22e 100644 (file)
@@ -45,7 +45,8 @@ void check ()
   GridGenerator::hyper_cube (triangulation);
   
                                   // Now get the cell
-  Triangulation<dim>::cell_iterator cell = triangulation.begin();
+  const typename Triangulation<dim>::cell_iterator
+    cell = triangulation.begin();
   cell->vertex(0)(0)=-1.;
                                       
                                   // and test it.

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.