]> https://gitweb.dealii.org/ - dealii.git/commitdiff
It did compile with gcc3.3. Make it compile with gcc.3.4.5, too.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 24 Feb 2006 17:37:44 +0000 (17:37 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 24 Feb 2006 17:37:44 +0000 (17:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@12501 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_tools.h

index d7725cf5d399a956832970f50b1c7ea851f07e0c..3c1a477631b887c6b01c2aeae55d24dd3035bab0 100644 (file)
@@ -1436,7 +1436,7 @@ class DoFTools
     static void
     map_support_points_to_dofs (const Mapping<DH::dimension> &mapping,
                                const DH                     &dof_handler,
-                               std::map<Point<dim>, unsigned int, Comp> &point_to_index_map);
+                               std::map<Point<DH::dimension>, unsigned int, Comp> &point_to_index_map);
 
                                     /**
                                      * Map a coupling table from the
@@ -1661,12 +1661,12 @@ void
 DoFTools::map_support_points_to_dofs (
   const Mapping<DH::dimension> &mapping,
   const DH                     &dof_handler,
-  std::map<Point<dim>, unsigned int, Comp> &point_to_index_map)
+  std::map<Point<DH::dimension>, unsigned int, Comp> &point_to_index_map)
 {
                                   // let the checking of arguments be
                                   // done by the function first
                                   // called
-  std::vector<Point<dim> > support_points (dof_handler.n_dofs());
+  std::vector<Point<DH::dimension> > support_points (dof_handler.n_dofs());
   map_dofs_to_support_points (mapping, dof_handler, support_points);
                                   // now copy over the results of the
                                   // previous function into the

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.