From 89b7da6a2104e5d81536c25e058c9c6e1990d13a Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 18 Jul 2013 01:47:00 +0000 Subject: [PATCH] Do conversion of iterators right, following Timo's patches today. git-svn-id: https://svn.dealii.org/trunk@30030 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/meshworker/dof_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/include/deal.II/meshworker/dof_info.h b/deal.II/include/deal.II/meshworker/dof_info.h index 76f1679ce9..97f77841f8 100644 --- a/deal.II/include/deal.II/meshworker/dof_info.h +++ b/deal.II/include/deal.II/meshworker/dof_info.h @@ -313,7 +313,7 @@ namespace MeshWorker get_indices(c); level_cell = c->is_level_cell(); - cell = static_cast::cell_iterator> (c); + cell = typename Triangulation::cell_iterator(*c); face_number = deal_II_numbers::invalid_unsigned_int; sub_number = deal_II_numbers::invalid_unsigned_int; if (block_info) @@ -345,11 +345,11 @@ namespace MeshWorker const unsigned int face_no) { if ((cell.state() != IteratorState::valid) - || cell != static_cast::cell_iterator> (c)) + || cell != typename Triangulation::cell_iterator(*c)) get_indices(c); level_cell = c->is_level_cell(); - cell = static_cast::cell_iterator> (c); + cell = typename Triangulation::cell_iterator(*c); set_face(f,face_no); if (block_info) -- 2.39.5