mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 17:32:03 -05:00
fixed error
This commit is contained in:
1 parent
8250a815cc
commit
a81f80f4fb
1 file changed
+1
-1
+1
-1
@@ -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{
|
||||
|
||||
Reference in new issue
Block a user