diff --git a/applications/ebos/eclproblem.hh b/applications/ebos/eclproblem.hh index 5a1127ea2..9149c3347 100644 --- a/applications/ebos/eclproblem.hh +++ b/applications/ebos/eclproblem.hh @@ -403,11 +403,9 @@ public: simulator.setTimeStepSize(dt); } - if (this->simulator().episodeIndex() > 1) { - if (updateHysteresis_()) - this->model().invalidateIntensiveQuantitiesCache(/*timeIdx=*/0); - this->model().updateMaxOilSaturations(); - } + if (updateHysteresis_()) + this->model().invalidateIntensiveQuantitiesCache(/*timeIdx=*/0); + this->model().updateMaxOilSaturations(); if (!GET_PROP_VALUE(TypeTag, DisableWells)) // set up the wells @@ -729,11 +727,6 @@ public: wellManager_.init(this->simulator().gridManager().eclState()); } - // update the data required for capillary pressure hysteresis - if (updateHysteresis_()) - this->model().invalidateIntensiveQuantitiesCache(/*timeIdx=*/0); - this->model().updateMaxOilSaturations(); - // let the object for threshold pressures initialize itself. this is done only at // this point, because determining the threshold pressures may require to access // the initial solution.