Fix Lower Bound Conditions for Three Point Checks

These are supposed to verify that the displacing saturation is
strictly between the critical and the maximum saturation values.
This commit is contained in:
Bård Skaflestad
2024-10-02 12:33:22 +02:00
parent 836e71cca0
commit 120b39a8f9
2 changed files with 33 additions and 2 deletions
@@ -51,7 +51,7 @@ testImpl(const EclEpsScalingPointsInfo<Scalar>& endPoints)
const auto sr = Scalar{1} - (this->sogcr_ + this->swl_);
const auto low = ! (this->swl_ < sr);
const auto low = ! (this->sgcr_ < sr);
const auto high = ! (sr < this->sgu_);
if (low || high) {
@@ -86,7 +86,7 @@ testImpl(const EclEpsScalingPointsInfo<Scalar>& endPoints)
const auto sr = Scalar{1} - (this->sowcr_ + this->sgl_);
const auto low = ! (this->sgl_ < sr);
const auto low = ! (this->swcr_ < sr);
const auto high = ! (sr < this->swu_);
if (low || high) {