fix Equilibration test by adding some fuzz

Backports parts of a7b1e69a45c14ec88a82b92ee704424f1ea1b41c
This commit is contained in:
Arne Morten Kvarving
2018-01-02 14:28:06 +01:00
committed by Andreas Lauser
parent 20fb005c24
commit f65663ffd7
+1 -1
View File
@@ -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));