MultisegmentWell: make updateWellState non-const

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

No files matched your search

+1 -1
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
@@ -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;