mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 17:02:02 -05:00
Bugfix in RsSatAtContact: use min(), not max().
Also modified test to match output.
This commit is contained in:
1 parent
6ccc8d7bf8
commit
ad285d452c
1 file changed
+1
-1
@@ -300,7 +300,7 @@ namespace Opm
|
||||
operator()(const double /* depth */,
|
||||
const double press) const
|
||||
{
|
||||
return std::max(satRs(press), rs_sat_contact_);
|
||||
return std::min(satRs(press), rs_sat_contact_);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in new issue
Block a user