Merge pull request #4668 from totto82/remove_ucl

remove duplicated code
This commit is contained in:
Atgeirr Flø Rasmussen 2023-05-26 15:04:33 +02:00 committed by GitHub
commit ed2827235e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1120,7 +1120,6 @@ public:
asImp_().updateCompositionChangeLimits_();
{
OPM_TIMEBLOCK(driftCompansation);
asImp_().updateCompositionChangeLimits_();
if (enableDriftCompensation_) {
const auto& residual = this->model().linearizer().residual();
for (unsigned globalDofIdx = 0; globalDofIdx < residual.size(); globalDofIdx ++) {