Skip to content
Snippets Groups Projects
Commit c9b0bce8 authored by Timo Koch's avatar Timo Koch
Browse files

[bugfix][fickslaw] Add missing return in getRho helper

parent 0c0a9c33
No related branches found
No related tags found
1 merge request!2430[bugfix][fickslaw] Add missing return in getRho helper
......@@ -204,8 +204,8 @@ public:
{
if constexpr (isMixedDimensional_)
{
scvf.numOutsideScvs() == 1 ? 0.5*(rhoInside + rhoOutside)
: branchingFacetDensity_(elemVolVars, scvf, phaseIdx, rhoInside);
return scvf.numOutsideScvs() == 1 ? 0.5*(rhoInside + rhoOutside)
: branchingFacetDensity_(elemVolVars, scvf, phaseIdx, rhoInside);
}
else
return 0.5*(rhoInside + rhoOutside);
......
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