diff --git a/opm/simulators/flow/FlowProblem.hpp b/opm/simulators/flow/FlowProblem.hpp index 0de1390a7..c29cb42a5 100644 --- a/opm/simulators/flow/FlowProblem.hpp +++ b/opm/simulators/flow/FlowProblem.hpp @@ -1543,9 +1543,7 @@ public: // if requested, compensate systematic mass loss for cells which were "well // behaved" in the last time step - // Note that we don't allow for drift compensation if there are no active wells. - const bool compensateDrift = wellModel_.wellsActive(); - if (enableDriftCompensation_ && compensateDrift) { + if (enableDriftCompensation_) { const auto& simulator = this->simulator(); const auto& model = this->model();