]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix definition of invalid_dof_index in hp::DoFHandler also at the point of definition.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 22 Mar 2013 13:30:45 +0000 (13:30 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 22 Mar 2013 13:30:45 +0000 (13:30 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@28983 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/hp/dof_handler.cc

index 47e6a3d3572b9ca786abcbcd8b10e501a0aa3c45..4fa7a7f666c9135d91ef29827688c7c3b50e1f74 100644 (file)
@@ -1481,7 +1481,7 @@ namespace internal
         {
           return std::min(static_cast<types::global_dof_index> (3*
                 dof_handler.finite_elements->max_dofs_per_vertex() +
-                2*dof_handler.finite_elements->max_dofs_per_line()), 
+                2*dof_handler.finite_elements->max_dofs_per_line()),
               dof_handler.n_dofs());
         }
 
@@ -1592,7 +1592,7 @@ namespace hp
   const unsigned int DoFHandler<dim,spacedim>::dimension;
 
   template<int dim, int spacedim>
-  const unsigned int DoFHandler<dim,spacedim>::invalid_dof_index;
+  const types::global_dof_index DoFHandler<dim,spacedim>::invalid_dof_index;
 
   template<int dim, int spacedim>
   const unsigned int DoFHandler<dim,spacedim>::default_fe_index;

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.