remove unnecessary arithmetic

This commit is contained in:
Arne Morten Kvarving committed 2025-01-23 11:16:32 +01:00
1 parent e1fea5469c
commit 6d2fe4334a
1 file changed
+1 -1
+1 -1
View File
@@ -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]));
//////