Rename mutable perfPhaseRates()

This commit is contained in:
Joakim Hove
2021-05-07 11:14:57 +02:00
parent aea80db23a
commit 846809ec29
4 changed files with 7 additions and 7 deletions

View File

@@ -620,7 +620,7 @@ namespace Opm
if (has_solvent && componentIdx == contiSolventEqIdx) {
well_state.perfRateSolvent()[first_perf_ + perf] = cq_s[componentIdx].value();
} else {
well_state.perfPhaseRates()[(first_perf_ + perf) * np + ebosCompIdxToFlowCompIdx(componentIdx)] = cq_s[componentIdx].value();
well_state.mutable_perfPhaseRates()[(first_perf_ + perf) * np + ebosCompIdxToFlowCompIdx(componentIdx)] = cq_s[componentIdx].value();
}
}