Merge pull request #194 from andlaus/valgrind_fix

properly initialize the VAPPAR parameters for wet gas and live oil
This commit is contained in:
Andreas Lauser
2017-01-06 09:20:42 +01:00
committed by GitHub
2 changed files with 10 additions and 0 deletions

View File

@@ -55,6 +55,11 @@ class LiveOilPvt
typedef std::vector<std::pair<Scalar, Scalar> > SamplingPoints;
public:
LiveOilPvt()
{
vapPar2_ = 0.0;
}
#if HAVE_OPM_PARSER
/*!
* \brief Initialize the oil parameters via the data specified by the PVTO ECL keyword.

View File

@@ -55,6 +55,11 @@ class WetGasPvt
typedef std::vector<std::pair<Scalar, Scalar> > SamplingPoints;
public:
WetGasPvt()
{
vapPar1_ = 0.0;
}
#if HAVE_OPM_PARSER
/*!
* \brief Initialize the parameters for wet gas using an ECL deck.