diff --git a/dune/solvers/norms/diagnorm.hh b/dune/solvers/norms/diagnorm.hh index e438ce68944ac1cf1f5f0bc3742432cf94ab2966..c5fc0ceedc6bf2c22a2a0fb830cc9cebd8cb391e 100644 --- a/dune/solvers/norms/diagnorm.hh +++ b/dune/solvers/norms/diagnorm.hh @@ -34,7 +34,7 @@ class DiagNorm: //! Compute the norm of the given vector field_type operator()(const VectorType &f) const { - return std::sqrt(this->DiagNorm<Diagonal,VectorType>::normSquared(f)); + return std::sqrt(normSquared(f)); } //! Compute the square of the norm of the given vector @@ -93,7 +93,7 @@ class DiagNorm<Dune::BlockVector<Dune::FieldVector <double,1> >, Dune::BlockVect //! Compute the norm of the given vector field_type operator()(const VectorType &f) const { - return std::sqrt(this->DiagNorm<>::normSquared(f)); + return std::sqrt(normSquared(f)); } //! Compute the square of the norm of the given vector diff --git a/dune/solvers/norms/energynorm.hh b/dune/solvers/norms/energynorm.hh index 4726bc65ca63de3a99b1c1aff1f26c0dc535932a..e93981ebb53e1c50634b5854b56cca4c713c66b3 100644 --- a/dune/solvers/norms/energynorm.hh +++ b/dune/solvers/norms/energynorm.hh @@ -63,7 +63,7 @@ //! Compute the norm of the given vector field_type operator()(const VectorType& f) const { - return std::sqrt(this->EnergyNorm<OperatorType,VectorType>::normSquared(f)); + return std::sqrt(normSquared(f)); } // \brief Compute the square of the norm of the given vector diff --git a/dune/solvers/norms/fullnorm.hh b/dune/solvers/norms/fullnorm.hh index d4f9f93b2157fc420e9498277904df44a7452e62..ff7d34b64ea3e29ced2318dad83e4c044a3be4d4 100644 --- a/dune/solvers/norms/fullnorm.hh +++ b/dune/solvers/norms/fullnorm.hh @@ -33,7 +33,7 @@ class FullNorm: public Norm<V> //! Compute the norm of the given vector field_type operator()(const VectorType &f) const { - return std::sqrt(this->FullNorm<LowRankFactor,VectorType>::normSquared(f)); + return std::sqrt(normSquared(f)); } //! Compute the square of the norm of the given vector @@ -86,7 +86,7 @@ class FullNorm<Dune::BlockVector<Dune::FieldVector<double,1> >, Dune::BlockVecto //! Compute the norm of the given vector field_type operator()(const VectorType &f) const { - return std::sqrt(this->FullNorm<>::normSquared(f)); + return std::sqrt(normSquared(f)); } //! Compute the square of the norm of the given vector