Bugfix in RsSatAtContact: use min(), not max().

Also modified test to match output.
This commit is contained in:
Atgeirr Flø Rasmussen 2014-02-27 14:57:38 +01:00 committed by Andreas Lauser
parent 6ccc8d7bf8
commit ad285d452c

View File

@ -300,7 +300,7 @@ namespace Opm
operator()(const double /* depth */, operator()(const double /* depth */,
const double press) const const double press) const
{ {
return std::max(satRs(press), rs_sat_contact_); return std::min(satRs(press), rs_sat_contact_);
} }
private: private: