Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions opm/output/eclipse/Tables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@ namespace { namespace SatFunc {
// tables having sorted phase saturation values (required by ECL
// format).
std::vector<TableElement>
mergeTables(const std::vector<DerivedKroFunction>& t, const double tolerance = 0.0)
mergeTables(const std::vector<DerivedKroFunction>& t, const double tolerance = 1.0e-7)
{
auto ret = std::vector<TableElement>{};

Expand Down Expand Up @@ -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()); }

Expand Down