From: bangerth Date: Fri, 22 Mar 2013 13:30:45 +0000 (+0000) Subject: Fix definition of invalid_dof_index in hp::DoFHandler also at the point of definition. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfe750d45e09ab28529321a88f951b6c5952d664;p=dealii-svn.git Fix definition of invalid_dof_index in hp::DoFHandler also at the point of definition. git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@28983 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/hp/dof_handler.cc b/deal.II/source/hp/dof_handler.cc index 47e6a3d357..4fa7a7f666 100644 --- a/deal.II/source/hp/dof_handler.cc +++ b/deal.II/source/hp/dof_handler.cc @@ -1481,7 +1481,7 @@ namespace internal { return std::min(static_cast (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::dimension; template - const unsigned int DoFHandler::invalid_dof_index; + const types::global_dof_index DoFHandler::invalid_dof_index; template const unsigned int DoFHandler::default_fe_index;