Adjust to upstream changes

Change from std::vector<int> to std::vector<HydroCarbonState> for the
hydroCarbonState
This commit is contained in:
Tor Harald Sandve 2016-05-13 12:40:50 +02:00
parent 01c782dbf3
commit 5757ef8ad0

View File

@ -1428,7 +1428,7 @@ namespace detail {
auto watOnly = sw > (1 - epsilon);
// phase translation sg <-> rs
std::vector<int>& hydroCarbonState = reservoir_state.hydroCarbonState();
std::vector<HydroCarbonState>& hydroCarbonState = reservoir_state.hydroCarbonState();
std::fill(hydroCarbonState.begin(), hydroCarbonState.end(), HydroCarbonState::GasAndOil);
if (has_disgas_) {