Skip to content
Snippets Groups Projects
Commit cc553093 authored by Max Kahnt's avatar Max Kahnt
Browse files

[Add todo] remove unnecessary specialization

parent 003b6ce4
No related branches found
No related tags found
1 merge request!17Cleanup/norms
...@@ -32,6 +32,9 @@ class TwoNorm : public Norm<VectorType> ...@@ -32,6 +32,9 @@ class TwoNorm : public Norm<VectorType>
return f.two_norm2(); 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 //! Compute the norm of the difference of two vectors
virtual double diff(const VectorType& f1, const VectorType& f2) const virtual double diff(const VectorType& f1, const VectorType& f2) const
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment