diff --git a/dune/solvers/norms/energynorm.hh b/dune/solvers/norms/energynorm.hh index f440a5e9c9968eba65d46e0f1ac0938cb571cb1a..89535fd57867020418a5d66494b8e1fd3bb88fcc 100644 --- a/dune/solvers/norms/energynorm.hh +++ b/dune/solvers/norms/energynorm.hh @@ -74,8 +74,7 @@ : *matrix_; DiscFuncType tmp(f.size()); - tmp = 0; - A.umv(f, tmp); + A.mv(f, tmp); double const ret = f*tmp; @@ -100,8 +99,7 @@ const double tol=1e-10) { DiscFuncType tmp(u.size()); - tmp = 0; - A.umv(u, tmp); + A.mv(u, tmp); double const ret = u*tmp;