Fix FOE definition

This commit is contained in:
Cintia Goncalves Machado 2022-06-13 15:34:19 +02:00 committed by GitHub
parent 9f7de03a80
commit 98d5450ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}