diff --git a/opm/simulators/wells/WellInterface_impl.hpp b/opm/simulators/wells/WellInterface_impl.hpp index 86b0f907a..cb464f64a 100644 --- a/opm/simulators/wells/WellInterface_impl.hpp +++ b/opm/simulators/wells/WellInterface_impl.hpp @@ -2179,7 +2179,7 @@ namespace Opm if( pu.phase_used[BlackoilPhases::Vapour] ) current_rate -= well_state.wellReservoirRates()[ wellrate_index + pu.phase_pos[BlackoilPhases::Vapour] ]; - if (controls.prediction_mode && controls.resv_rate > current_rate) { + if (controls.prediction_mode && controls.resv_rate < current_rate) { currentControl = Well::ProducerCMode::RESV; return true; }