diff --git a/dumux/implicit/cellcentered/localjacobian.hh b/dumux/implicit/cellcentered/localjacobian.hh index a25bd4d8bebb3855a8635f0fd2b06d0f8507c80e..3786c0ae893143600ef501e4763ff71717f15205 100644 --- a/dumux/implicit/cellcentered/localjacobian.hh +++ b/dumux/implicit/cellcentered/localjacobian.hh @@ -285,7 +285,7 @@ private: // to calculate f(x + \epsilon) and we can recycle the // (already calculated) residual f(x) if (!isGhost) - partialDeriv = this->residual_[0]; + partialDeriv = this->residual(0); neighborDeriv = origFlux; } @@ -324,7 +324,7 @@ private: // calculate f(x - \epsilon) and we can recycle the // (already calculated) residual f(x) if (!isGhost) - partialDeriv -= this->residual_[0]; + partialDeriv -= this->residual(0); neighborDeriv -= origFlux; }