diff --git a/dune/solvers/norms/diagnorm.hh b/dune/solvers/norms/diagnorm.hh index 0b00b12d417a6c06feef690f90859c73296668a3..54a86fccd73bff3b5c1257c525d9209872eebb73 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 0dc3d48af6b795051275e97b560fa0c84ed12830..564368259d051c8dcc86e161f93bab81dda36cf2 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: