diff --git a/examples/problems/co2injectionproblem.hh b/examples/problems/co2injectionproblem.hh index d2cc86c778..5dd893340f 100644 --- a/examples/problems/co2injectionproblem.hh +++ b/examples/problems/co2injectionproblem.hh @@ -571,7 +571,7 @@ private: const auto& matParams = this->materialLawParams(context, spaceIdx, timeIdx); MaterialLaw::capillaryPressures(pC, matParams, fs); - fs.setPressure(liquidPhaseIdx, pl + (pC[liquidPhaseIdx] - pC[liquidPhaseIdx])); + fs.setPressure(liquidPhaseIdx, pl); fs.setPressure(gasPhaseIdx, pl + (pC[gasPhaseIdx] - pC[liquidPhaseIdx])); //////