diff --git a/istl/paamg/indicescoarsener.hh b/istl/paamg/indicescoarsener.hh
index a0e372a2c5dd8d3895e6f2c5c251f5a3c9f9a1ed..08858b2643f5faca516125e5fe9c0c0bdd68c082 100644
--- a/istl/paamg/indicescoarsener.hh
+++ b/istl/paamg/indicescoarsener.hh
@@ -309,9 +309,7 @@ namespace Dune
              aggregates[index->localIndexPair().local()] !=
              AggregatesMap<typename Graph::VertexDescriptor>::ISOLATED)
           {
-            typename Graph::VertexDescriptor aggregate = index->localIndexPair().local();
-            //std::cout<<* coarseLookup.pair(aggregates[aggregate]) << " also present on "<<neighbour->first<<std::endl;
-            assert(aggregates[aggregate]<(int)attributes.size());
+            assert(aggregates[index->localIndexPair().local()]<(int)attributes.size());
             assert(attributes[aggregates[index->localIndexPair().local()]] == std::numeric_limits<char>::max()
                    || attributes[aggregates[index->localIndexPair().local()]] == index->attribute());
             attributes[aggregates[index->localIndexPair().local()]] = index->attribute();