diff --git a/dune/solvers/common/staticmatrixtools.hh b/dune/solvers/common/staticmatrixtools.hh index 9da8bbb7e4ba6237cf90d1c5365ca870d75efef3..52301974731f0324abbed571688299221f2cde38 100644 --- a/dune/solvers/common/staticmatrixtools.hh +++ b/dune/solvers/common/staticmatrixtools.hh @@ -63,7 +63,7 @@ class StaticMatrix // the commented line should NOT be used as it may lead to ambiguities in which case the general method above will be used. // an example is the line taken from massassembler.hh (line 83 at the time): // StaticMatrix::addToDiagonal(localMatrix[i][i], values[i] * zi); - // where values[i] is of type FielVector<FieldType,1> and zi is a double. This call then does not exactly fit this specialization (without the implicit cast of FV<FT,1>) + // where values[i] is of type FieldVector<FieldType,1> and zi is a double. This call then does not exactly fit this specialization (without the implicit cast of FV<FT,1>) // and hence some wild template voodoo decides which of the templates is to be taken - in this case with a gcc 4.4.5 that was the one above leading to a wrong factor n // in the diagonal value static void addToDiagonal(Dune::ScaledIdentityMatrix<FieldType,n>& x, const typename Dune::ScaledIdentityMatrix<FieldType,n>::field_type a)