Merge pull request #915 from akva2/fix_equil
fix Equilibration test by adding some fuzz
This commit is contained in:
commit
21412edc97
@ -350,7 +350,7 @@ namespace Opm
|
||||
const double temp,
|
||||
const double sat_oil = 0.0 ) const
|
||||
{
|
||||
if (sat_oil > 0.0) {
|
||||
if (std::abs(sat_oil) > 1e-16) {
|
||||
return satRv(press, temp);
|
||||
} else {
|
||||
return std::min(satRv(press, temp), linearInterpolation(depth_, rv_, depth));
|
||||
|
Loading…
Reference in New Issue
Block a user