diff --git a/opm/simulators/wells/MultisegmentWell.hpp b/opm/simulators/wells/MultisegmentWell.hpp index dd9af2146..58cccbea5 100644 --- a/opm/simulators/wells/MultisegmentWell.hpp +++ b/opm/simulators/wells/MultisegmentWell.hpp @@ -180,7 +180,6 @@ namespace Opm // multi-phase flow model WellSegments::MultiPhaseModel multiphaseModel() const; - using Base::saturation_table_number_; using Base::well_efficiency_factor_; using Base::gravity_; using Base::perf_depth_; diff --git a/opm/simulators/wells/MultisegmentWell_impl.hpp b/opm/simulators/wells/MultisegmentWell_impl.hpp index 50e5dd4a9..e34f5d39a 100644 --- a/opm/simulators/wells/MultisegmentWell_impl.hpp +++ b/opm/simulators/wells/MultisegmentWell_impl.hpp @@ -789,7 +789,7 @@ namespace Opm // either use mobility of the perforation cell or calcualte its own // based on passing the saturation table index - const int satid = saturation_table_number_[perf] - 1; + const int satid = this->saturation_table_number_[perf] - 1; const int satid_elem = materialLawManager->satnumRegionIdx(cell_idx); if( satid == satid_elem ) { // the same saturation number is used. i.e. just use the mobilty from the cell