From: Matthias Maier Date: Thu, 6 Jun 2013 10:35:05 +0000 (+0000) Subject: Use correct type for dof index, also fixes a warning when compiling with clang X-Git-Tag: v8.0.0~306 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d840438fc287c3dbd3b7432ef4238a846fecf30b;p=dealii.git Use correct type for dof index, also fixes a warning when compiling with clang git-svn-id: https://svn.dealii.org/trunk@29780 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_handler_policy.cc b/deal.II/source/dofs/dof_handler_policy.cc index b28d6f65e1..6e03ea1eec 100644 --- a/deal.II/source/dofs/dof_handler_policy.cc +++ b/deal.II/source/dofs/dof_handler_policy.cc @@ -594,7 +594,7 @@ namespace internal (i->get_finest_level() >= level)) for (unsigned int d=0; dget_index (level, d); + dealii::types::global_dof_index idx = i->get_index (level, d); if (idx != DoFHandler<1>::invalid_dof_index) i->set_index (level, d, (indices.n_elements() == 0)? @@ -739,7 +739,7 @@ namespace internal { for (unsigned int d=0; dline(l)->mg_dof_index(level, d); + dealii::types::global_dof_index idx = cell->line(l)->mg_dof_index(level, d); if (idx != DoFHandler<1>::invalid_dof_index) cell->line(l)->set_mg_dof_index (level, d, ((indices.n_elements() == 0) ? new_numbers[idx] :