From b7fc38f0ca20393b6a212e7c4532777382fae629 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 19 Apr 2016 13:50:44 +0200 Subject: [PATCH] Fix minor issues in PR2518 --- include/deal.II/dofs/dof_accessor.h | 8 ++++---- include/deal.II/meshworker/loop.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/deal.II/dofs/dof_accessor.h b/include/deal.II/dofs/dof_accessor.h index 8b257ed11e..4e7600ecb1 100644 --- a/include/deal.II/dofs/dof_accessor.h +++ b/include/deal.II/dofs/dof_accessor.h @@ -1262,7 +1262,7 @@ public: * accessor without access to the DoF data. */ TriaIterator > - neighbor (const unsigned int) const; + neighbor (const unsigned int i) const; /** * Return the @p ith periodic neighbor as a DoF cell iterator. This function @@ -1270,7 +1270,7 @@ public: * accessor without access to the DoF data. */ TriaIterator > - periodic_neighbor (const unsigned int) const; + periodic_neighbor (const unsigned int i) const; /** * Return the @p ith neighbor or periodic neighbor as a DoF cell iterator. @@ -1278,7 +1278,7 @@ public: * returns a cell accessor without access to the DoF data. */ TriaIterator > - neighbor_or_periodic_neighbor (const unsigned int) const; + neighbor_or_periodic_neighbor (const unsigned int i) const; /** * Return the @p ith child as a DoF cell iterator. This function is needed @@ -1286,7 +1286,7 @@ public: * without access to the DoF data. */ TriaIterator > - child (const unsigned int) const; + child (const unsigned int i) const; /** * Return an iterator to the @p ith face of this cell. diff --git a/include/deal.II/meshworker/loop.h b/include/deal.II/meshworker/loop.h index 002a8adfaf..7f5a5df30f 100644 --- a/include/deal.II/meshworker/loop.h +++ b/include/deal.II/meshworker/loop.h @@ -252,7 +252,7 @@ namespace MeshWorker const bool periodic_neighbor = cell->has_periodic_neighbor(face_no); if ((!periodic_neighbor && cell->neighbor_is_coarser(face_no)) - ||(periodic_neighbor && cell->periodic_neighbor_is_coarser(face_no))) + || (periodic_neighbor && cell->periodic_neighbor_is_coarser(face_no))) { Assert(!cell->has_children(), ExcInternalError()); Assert(!neighbor->has_children(), ExcInternalError()); -- 2.39.5