Merge pull request #3939 from goncalvesmachadoc/patch-6

Fix FOE definition
This commit is contained in:
Bård Skaflestad
2022-06-13 20:14:39 +02:00
committed by GitHub

View File

@@ -1731,7 +1731,7 @@ updateSummaryRegionValues(const Inplace& inplace,
}
if (this->summaryConfig_.hasKeyword("FOE") && this->initialInplace_) {
miscSummaryData["FOE"] = inplace.get(Inplace::Phase::OIL)
miscSummaryData["FOE"] = (this->initialInplace_.value().get(Inplace::Phase::OIL) - inplace.get(Inplace::Phase::OIL))
/ this->initialInplace_.value().get(Inplace::Phase::OIL);
}