Commit 7bae59fc authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[el2p] fix usage of object/pointer, use base()

Reviewed by Dennis.



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14205 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent eb40c94b
......@@ -225,10 +225,10 @@ public:
Scalar globalResidual(SolutionVector &residual,
const SolutionVector &u)
{
jacAsm_.gridOperator().residual(u, residual);
jacAsm_->gridOperator().residual(u, residual);
// calculate the square norm of the residual
Scalar result2 = residual.two_norm2();
Scalar result2 = residual.base().two_norm2();
if (gridView_().comm().size() > 1)
result2 = gridView_().comm().sum(result2);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment