From 9fac2b8525ddb835c5db74d32a2691fa64fedec3 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Sun, 27 Oct 2013 20:22:51 +0100 Subject: [PATCH] Rename variable to avoid shadowing --- dune/istl/paamg/aggregates.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/istl/paamg/aggregates.hh b/dune/istl/paamg/aggregates.hh index e5005386f..01789ccaa 100644 --- a/dune/istl/paamg/aggregates.hh +++ b/dune/istl/paamg/aggregates.hh @@ -1782,10 +1782,10 @@ namespace Dune // Examine all the edges beginning at this vertex. typedef typename G::EdgeIterator EdgeIterator; typedef typename Matrix::ConstColIterator ColIterator; - EdgeIterator end = vertex.end(); + EdgeIterator eEnd = vertex.end(); ColIterator col = matrix[*vertex].begin(); - for(EdgeIterator edge = vertex.begin(); edge!= end; ++edge, ++col) { + for(EdgeIterator edge = vertex.begin(); edge!= eEnd; ++edge, ++col) { // Move to the right column. while(col.index()!=edge.target()) ++col; -- GitLab