diff --git a/opm/simulators/wells/GroupState.cpp b/opm/simulators/wells/GroupState.cpp index ae7be4672..b85186235 100644 --- a/opm/simulators/wells/GroupState.cpp +++ b/opm/simulators/wells/GroupState.cpp @@ -38,6 +38,7 @@ bool GroupState::operator==(const GroupState& other) const { this->inj_potentials == other.inj_potentials && this->inj_rein_rates == other.inj_rein_rates && this->inj_vrep_rate == other.inj_vrep_rate && + this->inj_surface_rates == other.inj_surface_rates && this->m_grat_sales_target == other.m_grat_sales_target && this->injection_controls == other.injection_controls; } diff --git a/opm/simulators/wells/GroupState.hpp b/opm/simulators/wells/GroupState.hpp index 2c53e618b..525265cc9 100644 --- a/opm/simulators/wells/GroupState.hpp +++ b/opm/simulators/wells/GroupState.hpp @@ -112,6 +112,7 @@ public: iterateContainer(inj_red_rates, func); iterateContainer(inj_resv_rates, func); iterateContainer(inj_rein_rates, func); + iterateContainer(inj_surface_rates, func); }; // Compute the size of the data.