Merge pull request #194 from andlaus/valgrind_fix
properly initialize the VAPPAR parameters for wet gas and live oil
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user