mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
Fixing some syntax.
This commit is contained in:
parent
ca046987a7
commit
8e679382dd
@ -1063,7 +1063,9 @@ namespace Opm
|
||||
const int posOil = phase_usage_.phase_pos[Oil];
|
||||
const double* s = saturation.data();
|
||||
for (int i=0; i<n; ++i) {
|
||||
if (satOilMax_[i] < *(s+np*i+posOil)) satOilMax_[i] = *(s+np*i+posOil);
|
||||
if (satOilMax_[i] < s[np*i+posOil]) {
|
||||
satOilMax_[i] = s[np*i+posOil];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user