From d840438fc287c3dbd3b7432ef4238a846fecf30b Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 6 Jun 2013 10:35:05 +0000 Subject: [PATCH] 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 --- deal.II/source/dofs/dof_handler_policy.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] : -- 2.39.5