From beaa0661568de62d908cbdb4c4c626ba433129f9 Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Thu, 30 Apr 2015 11:35:50 +0200
Subject: [PATCH] [bugfix] add missing typedef

---
 dune/istl/paamg/aggregates.hh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dune/istl/paamg/aggregates.hh b/dune/istl/paamg/aggregates.hh
index 02554dd7..6b657d04 100644
--- a/dune/istl/paamg/aggregates.hh
+++ b/dune/istl/paamg/aggregates.hh
@@ -351,6 +351,8 @@ namespace Dune
       /** @brief The matrix we work on. */
       const Matrix* matrix_;
       /** @brief The current max value.*/
+      typedef typename Matrix::field_type field_type;
+      typedef typename FieldTraits<field_type>::real_type real_type;
       real_type maxValue_;
       /** @brief The functor for calculating the norm. */
       Norm norm_;
-- 
GitLab