PvtConstCompr: initialize the temperature vs viscosity table pointers in all constructors

this fixes opm-autodiff's "boprops_ad" unit test. thanks to
[at]atgeirr for pointing this out.
This commit is contained in:
Andreas Lauser 2015-02-03 15:33:31 +01:00
parent 23e00bd643
commit 8dce4982fc

View File

@ -47,6 +47,8 @@ namespace Opm
{
public:
PvtConstCompr()
: oilvisctTables_(0),
watvisctTables_(0)
{}
void initFromWater(Opm::DeckKeywordConstPtr pvtwKeyword)