Commit 63c3e71f authored by Timo Koch's avatar Timo Koch
Browse files

[fix][2p2c][test] Fix syntax for volvar deflection with global caching

parent 1d85069c
......@@ -172,10 +172,10 @@ public:
auto dofIdxGlobal = scv.dofIndex();
if (priVarSwitch_().wasSwitched(dofIdxGlobal))
{
this->nonConstCurGlobalVolVars().volVars(dofIdxGlobal).update(this->curSol()[dofIdxGlobal],
this->problem_(),
element,
scv);
this->nonConstCurGlobalVolVars().volVars(scv.index()).update(this->curSol()[dofIdxGlobal],
this->problem_(),
element,
scv);
}
}
}
......
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