From: Daniel Arndt Date: Tue, 19 Apr 2016 11:50:44 +0000 (+0200) Subject: Fix minor issues in PR2518 X-Git-Tag: v8.5.0-rc1~1095^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2518%2Fhead;p=dealii.git Fix minor issues in PR2518 --- 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());