diff --git a/examples/problems/reservoirproblem.hh b/examples/problems/reservoirproblem.hh index 879af1fdb..7b38cee81 100644 --- a/examples/problems/reservoirproblem.hh +++ b/examples/problems/reservoirproblem.hh @@ -350,8 +350,8 @@ public: liveOilPvt.setSaturatedOilViscosity(/*regionIdx=*/0, muo); Opm::WaterPvtMultiplexer *waterPvt = new Opm::WaterPvtMultiplexer; - waterPvt->setApproach(WaterPvtApproach::ConstantCompressibilityWaterPvt); - auto& ccWaterPvt = waterPvt->template getRealPvt(); + waterPvt->setApproach(WaterPvtApproach::ConstantCompressibilityWater); + auto& ccWaterPvt = waterPvt->template getRealPvt(); ccWaterPvt.setNumRegions(/*numPvtRegions=*/1); ccWaterPvt.setReferenceDensities(/*regionIdx=*/0, rhoRefO, rhoRefG, rhoRefW); ccWaterPvt.setViscosity(/*regionIdx=*/0, 9.6e-4);