Skip to content
Snippets Groups Projects
Commit c73fa760 authored by Uli Sack's avatar Uli Sack Committed by usack
Browse files

no need for this->NORMTYPE::, as normSquared is a direct member not just inherited

[[Imported from SVN: r12160]]
parent e5439f82
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment