diff --git a/dune/istl/paamg/aggregates.hh b/dune/istl/paamg/aggregates.hh index 02554dd7de806c9f8c2943e9576150a429ee9ab0..6b657d045cb52d701afb569a801611d32b4c779d 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_;