mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-23 01:36:25 -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_();
|
||||
doInvalidate = doInvalidate || updateMaxOilSaturation_();
|
||||
doInvalidate = updateMaxOilSaturation_() || doInvalidate;
|
||||
|
||||
if (GET_PROP_VALUE(TypeTag, EnablePolymer))
|
||||
updateMaxPolymerAdsorption_();
|
||||
|
Loading…
Reference in New Issue
Block a user