diff --git a/dune/solvers/norms/energynorm.hh b/dune/solvers/norms/energynorm.hh index 2f7314b0c0c079aad40ac83cde9e11e765414bb1..702d0fce6faad2cfb67a3994da7d8f102db5c4d2 100644 --- a/dune/solvers/norms/energynorm.hh +++ b/dune/solvers/norms/energynorm.hh @@ -22,10 +22,11 @@ * * \todo Elaborate documentation. */ - template<class OperatorType, class VectorType> - class EnergyNorm : public Norm<VectorType> + template<class OperatorType, class V> + class EnergyNorm : public Norm<V> { public: + typedef V VectorType; /** \brief The type used for the result */ typedef typename VectorType::field_type field_type;