Make sure the updateMaxOilSaturation_ is called

The order of operation is left-to-right.
This commit is contained in:
Tor Harald Sandve 2018-02-19 08:54:12 +01:00
parent 44ab370fae
commit 9372f9d2ca

View File

@ -565,7 +565,7 @@ public:
}
bool doInvalidate = updateHysteresis_();
doInvalidate = doInvalidate || updateMaxOilSaturation_();
doInvalidate = updateMaxOilSaturation_() || doInvalidate;
if (GET_PROP_VALUE(TypeTag, EnablePolymer))
updateMaxPolymerAdsorption_();