Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -459,7 +459,8 @@ protected: ...@@ -459,7 +459,8 @@ protected:
// to calculate f(x + \epsilon) and we can recycle the // to calculate f(x + \epsilon) and we can recycle the
// (already calculated) residual f(x) // (already calculated) residual f(x)
partialDeriv = residual_; partialDeriv = residual_;
storageDeriv = storageTerm_[col]; if (isBox || col == 0)
storageDeriv = storageTerm_[col];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment