Commit 45eef1fe authored by Timo Koch's avatar Timo Koch
Browse files

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

parent 63c3e71f
......@@ -184,10 +184,10 @@ public:
auto dofIdxGlobal = scv.dofIndex();
if (priVarSwitch_().wasSwitched(dofIdxGlobal))
{
this->nonConstantCurGlobalVolVars()[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