From cc5530936f167c3828a21261dada3ce2876fa858 Mon Sep 17 00:00:00 2001 From: Max Kahnt <max.kahnt@fu-berlin.de> Date: Fri, 22 Sep 2017 19:07:26 +0200 Subject: [PATCH] [Add todo] remove unnecessary specialization --- dune/solvers/norms/twonorm.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dune/solvers/norms/twonorm.hh b/dune/solvers/norms/twonorm.hh index 09d99b7b..47a28686 100644 --- a/dune/solvers/norms/twonorm.hh +++ b/dune/solvers/norms/twonorm.hh @@ -32,6 +32,9 @@ class TwoNorm : public Norm<VectorType> return f.two_norm2(); } + // TODO there is no reason to have this if f.two_norm2() can be + // assumed (above) anyway. Then also the specialization for + // FieldVector (below) can go. //! Compute the norm of the difference of two vectors virtual double diff(const VectorType& f1, const VectorType& f2) const { -- GitLab