fixed error

This commit is contained in:
hnil committed 2023-03-23 13:53:14 +01:00
1 parent 8250a815cc
commit a81f80f4fb
1 file changed
+1 -1
+1 -1
View File
@@ -2222,7 +2222,7 @@ private:
const auto& fs = iq.fluidState();
const Scalar So = decay<Scalar>(fs.saturation(oilPhaseIdx));
auto& mos = this->maxOilSaturation_;
if(mos[compressedDofIdx], So){
if(mos[compressedDofIdx] < So){
mos[compressedDofIdx] = So;
return true;
}else{