mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-05 22:13:00 -06:00
eclproblem: use if constexpr for enableBrine
This commit is contained in:
parent
68f9aeb78f
commit
baad3a7722
@ -1924,7 +1924,7 @@ public:
|
||||
if constexpr (enablePolymerMolarWeight)
|
||||
values[Indices::polymerMoleWeightIdx]= polymerMoleWeight_[globalDofIdx];
|
||||
|
||||
if (enableBrine)
|
||||
if constexpr (enableBrine)
|
||||
values[Indices::saltConcentrationIdx] = initialFluidStates_[globalDofIdx].saltConcentration();
|
||||
|
||||
values.checkDefined();
|
||||
|
Loading…
Reference in New Issue
Block a user