Remove check for active wells for drift compensation

This commit is contained in:
Tor Harald Sandve 2024-01-19 09:09:56 +01:00
parent d13f217bd5
commit 8fe55dba4e

View File

@ -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();