From 1a5ae624b11639fbda526b790ca5e1d298bcba44 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 15 Feb 2023 20:03:06 +0100 Subject: [PATCH] GroupState: add gpmaint_state to comparison operator --- opm/simulators/wells/GroupState.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/simulators/wells/GroupState.cpp b/opm/simulators/wells/GroupState.cpp index 08303e6c7..32e7ba7c4 100644 --- a/opm/simulators/wells/GroupState.cpp +++ b/opm/simulators/wells/GroupState.cpp @@ -43,7 +43,8 @@ bool GroupState::operator==(const GroupState& other) const { 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; + this->injection_controls == other.injection_controls && + this->gpmaint_state == other.gpmaint_state; } //-------------------------------------------------------------------------