Skip to content

Commit

Permalink
Use zero tolerance for everything except SLGOF, to pass tests (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkip committed Nov 4, 2024
1 parent 4ec2e65 commit 93892f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opm/output/eclipse/Tables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,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 = 1.0e-12)
mergeTables(const std::vector<DerivedKroFunction>& t, const double tolerance = 0.0)
{
auto ret = std::vector<TableElement>{};

Expand Down Expand Up @@ -2020,7 +2020,7 @@ namespace { namespace SatFunc {
tbl.emplace_back(sg, krog, So_off);
}

const auto mrg = mergeTables(tbl);
const auto mrg = mergeTables(tbl, 1.0e-14);

for (auto& col : ret) { col.reserve(mrg.size()); }

Expand Down

0 comments on commit 93892f1

Please sign in to comment.