WellInterface: make recoverWellSolutionAndUpdateWellState non-const

this will obviously modify well state
This commit is contained in:
Arne Morten Kvarving
2022-11-09 13:01:30 +01:00
parent 147f0eb2bd
commit fba6249dd8
5 changed files with 9 additions and 9 deletions

View File

@@ -238,7 +238,7 @@ namespace Opm
MultisegmentWell<TypeTag>::
recoverWellSolutionAndUpdateWellState(const BVector& x,
WellState& well_state,
DeferredLogger& deferred_logger) const
DeferredLogger& deferred_logger)
{
if (!this->isOperableAndSolvable() && !this->wellIsStopped()) return;