Commit 8a46d623 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

bugfix in implicit local jacobian: add if clause

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11310 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 5ebee3ed
......@@ -459,7 +459,8 @@ protected:
// to calculate f(x + \epsilon) and we can recycle the
// (already calculated) residual f(x)
partialDeriv = residual_;
storageDeriv = storageTerm_[col];
if (isBox || col == 0)
storageDeriv = storageTerm_[col];
}
......
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