diff --git a/opm/output/eclipse/Tables.cpp b/opm/output/eclipse/Tables.cpp index 05b3c5c46e3..8debe200669 100644 --- a/opm/output/eclipse/Tables.cpp +++ b/opm/output/eclipse/Tables.cpp @@ -1877,7 +1877,7 @@ namespace { namespace SatFunc { // tables having sorted phase saturation values (required by ECL // format). std::vector - mergeTables(const std::vector& t, const double tolerance = 0.0) + mergeTables(const std::vector& t, const double tolerance = 1.0e-7) { auto ret = std::vector{}; @@ -2006,7 +2006,7 @@ namespace { namespace SatFunc { tbl.emplace_back(sg, krog, So_off); } - const auto mrg = mergeTables(tbl, 1.0e-14); + const auto mrg = mergeTables(tbl); for (auto& col : ret) { col.reserve(mrg.size()); }