diff --git a/opm/core/wells/WellsManager_impl.hpp b/opm/core/wells/WellsManager_impl.hpp index fab0c7c1..69192a34 100644 --- a/opm/core/wells/WellsManager_impl.hpp +++ b/opm/core/wells/WellsManager_impl.hpp @@ -427,10 +427,11 @@ WellsManager::init(const Opm::EclipseStateConstPtr eclipseState, } well_collection_.setWellsPointer(w_); - well_collection_.applyGroupControls(); setupGuideRates(wells, timeStep, well_data, well_names_to_index); + well_collection_.applyGroupControls(); + // Debug output. #define EXTRA_OUTPUT #ifdef EXTRA_OUTPUT