MultisegmentWell: make updatePrimaryVariablesNewton non-const

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

View File

@@ -261,7 +261,7 @@ MultisegmentWellEval<FluidSystem,Indices,Scalar>::
updatePrimaryVariablesNewton(const BVectorWell& dwells,
const double relaxation_factor,
const double dFLimit,
const double max_pressure_change) const
const double max_pressure_change)
{
const std::vector<std::array<double, numWellEq> > old_primary_variables = primary_variables_;