From 15bf35ffe0a6a671f8adb26af7e6feadc798b25c Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Wed, 18 May 2022 10:18:35 +0200 Subject: [PATCH] removing unused well_state0 in iterateWellEqWithControl for MSW. --- opm/simulators/wells/MultisegmentWell_impl.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/opm/simulators/wells/MultisegmentWell_impl.hpp b/opm/simulators/wells/MultisegmentWell_impl.hpp index 13117c415..df824895a 100644 --- a/opm/simulators/wells/MultisegmentWell_impl.hpp +++ b/opm/simulators/wells/MultisegmentWell_impl.hpp @@ -1369,7 +1369,6 @@ namespace Opm if (!this->isOperableAndSolvable() && !this->wellIsStopped()) return true; const int max_iter_number = this->param_.max_inner_iter_ms_wells_; - const WellState well_state0 = well_state; { // getWellFiniteResiduals returns false for nan/inf residuals