diff --git a/opm/material/fluidsystems/blackoilpvt/LiveOilPvt.hpp b/opm/material/fluidsystems/blackoilpvt/LiveOilPvt.hpp index e928a0f44..46409efca 100644 --- a/opm/material/fluidsystems/blackoilpvt/LiveOilPvt.hpp +++ b/opm/material/fluidsystems/blackoilpvt/LiveOilPvt.hpp @@ -55,6 +55,11 @@ class LiveOilPvt typedef std::vector > SamplingPoints; public: + LiveOilPvt() + { + vapPar2_ = 0.0; + } + #if HAVE_OPM_PARSER /*! * \brief Initialize the oil parameters via the data specified by the PVTO ECL keyword. diff --git a/opm/material/fluidsystems/blackoilpvt/WetGasPvt.hpp b/opm/material/fluidsystems/blackoilpvt/WetGasPvt.hpp index 3f91b8155..2552e3ded 100644 --- a/opm/material/fluidsystems/blackoilpvt/WetGasPvt.hpp +++ b/opm/material/fluidsystems/blackoilpvt/WetGasPvt.hpp @@ -55,6 +55,11 @@ class WetGasPvt typedef std::vector > SamplingPoints; public: + WetGasPvt() + { + vapPar1_ = 0.0; + } + #if HAVE_OPM_PARSER /*! * \brief Initialize the parameters for wet gas using an ECL deck.