From dbf7efa6cb167e08b543db554ac2eccaf0b874e2 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Wed, 22 May 2019 15:39:57 +0200 Subject: [PATCH] fix typo in fip output --- ebos/ecloutputblackoilmodule.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebos/ecloutputblackoilmodule.hh b/ebos/ecloutputblackoilmodule.hh index a6684373c..e93ef6aa0 100644 --- a/ebos/ecloutputblackoilmodule.hh +++ b/ebos/ecloutputblackoilmodule.hh @@ -1231,7 +1231,7 @@ private: // Gas dissolved in oil and vaporized oil Scalar gasInPlaceLiquid = Opm::getValue(fs.Rs()) * fip[oilPhaseIdx]; Scalar oilInPlaceGas = Opm::getValue(fs.Rv()) * fip[gasPhaseIdx]; - if (fip_[FipDataType::GasInPlaceInGasPhase].size() > 0) + if (fip_[FipDataType::GasInPlaceInLiquidPhase].size() > 0) fip_[FipDataType::GasInPlaceInLiquidPhase][globalDofIdx] = gasInPlaceLiquid; if (fip_[FipDataType::OilInPlaceInGasPhase].size() > 0) fip_[FipDataType::OilInPlaceInGasPhase][globalDofIdx] = oilInPlaceGas;