From f32fc72729adcbe1f43ae4e01bf535a13ed53430 Mon Sep 17 00:00:00 2001
From: Uli Sack <usack@math.fu-berlin.de>
Date: Wed, 11 Apr 2012 13:14:23 +0000
Subject: [PATCH] added default values for template parameters such that the
 old scalar implementation is default

[[Imported from SVN: r5942]]
---
 dune/solvers/norms/diagnorm.hh | 2 +-
 dune/solvers/norms/fullnorm.hh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dune/solvers/norms/diagnorm.hh b/dune/solvers/norms/diagnorm.hh
index 0b00b12d..54a86fcc 100644
--- a/dune/solvers/norms/diagnorm.hh
+++ b/dune/solvers/norms/diagnorm.hh
@@ -11,7 +11,7 @@
   *  \tparam Diagonal some container type having the random access operator[]; used to store the diagonal entries of the matrix
   *  \tparam VectorType the vector type the norm may be applied to
   */
-template <class Diagonal, class VectorType>
+template <class Diagonal=Dune::BlockVector<Dune::FieldVector <double,1> >, class VectorType=Dune::BlockVector<Dune::FieldVector <double,1> > >
 class DiagNorm:
     public Norm<VectorType>
 {
diff --git a/dune/solvers/norms/fullnorm.hh b/dune/solvers/norms/fullnorm.hh
index 0dc3d48a..56436825 100644
--- a/dune/solvers/norms/fullnorm.hh
+++ b/dune/solvers/norms/fullnorm.hh
@@ -14,7 +14,7 @@
  * \tparam LowRankFactor the type of the factor used to represent the low rank operator
  * \tparam VectorType the vector type the norm may be applied to
  */
-template <class LowRankFactor, class VectorType>
+template <class LowRankFactor=Dune::BlockVector<Dune::FieldVector <double,1> >, class VectorType=Dune::BlockVector<Dune::FieldVector <double,1> > >
 class FullNorm: public Norm<VectorType>
 {
     public:
-- 
GitLab