mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 22:57:42 -05:00
remove unnecessary arithmetic
This commit is contained in:
1 parent
e1fea5469c
commit
6d2fe4334a
1 file changed
+1
-1
@@ -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]));
|
||||
|
||||
//////
|
||||
|
||||
Reference in new issue
Block a user