mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make sure the updateMaxOilSaturation_ is called
The order of operation is left-to-right.
This commit is contained in:
parent
44ab370fae
commit
9372f9d2ca
@ -565,7 +565,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool doInvalidate = updateHysteresis_();
|
bool doInvalidate = updateHysteresis_();
|
||||||
doInvalidate = doInvalidate || updateMaxOilSaturation_();
|
doInvalidate = updateMaxOilSaturation_() || doInvalidate;
|
||||||
|
|
||||||
if (GET_PROP_VALUE(TypeTag, EnablePolymer))
|
if (GET_PROP_VALUE(TypeTag, EnablePolymer))
|
||||||
updateMaxPolymerAdsorption_();
|
updateMaxPolymerAdsorption_();
|
||||||
|
Loading…
Reference in New Issue
Block a user