MultisegmentWell: make updateWellState non-const

this will obviously update state
This commit is contained in:
Arne Morten Kvarving 2022-12-16 15:05:06 +01:00
parent 4827de23ce
commit 10a671e88c
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ namespace Opm
void updateWellState(const BVectorWell& dwells,
WellState& well_state,
DeferredLogger& deferred_logger,
const double relaxation_factor=1.0) const;
const double relaxation_factor = 1.0);
// computing the accumulation term for later use in well mass equations

View File

@ -610,7 +610,7 @@ namespace Opm
updateWellState(const BVectorWell& dwells,
WellState& well_state,
DeferredLogger& deferred_logger,
const double relaxation_factor) const
const double relaxation_factor)
{
if (!this->isOperableAndSolvable() && !this->wellIsStopped()) return;