diff --git a/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp b/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp index 09fbb214c..79507c843 100644 --- a/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp +++ b/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp @@ -207,9 +207,9 @@ namespace Opm { assembleMassBalanceEq(const SolutionState& state); void - addWellContributionToMassBalanceEq(const SolutionState& state, - const WellState& xw, - const std::vector& cq_s); + addWellContributionToMassBalanceEq(const std::vector& cq_s, + const SolutionState& state, + WellState& xw); void computeMassFlux(const int actph , diff --git a/opm/polymer/fullyimplicit/BlackoilPolymerModel_impl.hpp b/opm/polymer/fullyimplicit/BlackoilPolymerModel_impl.hpp index f3d8e2c0c..dbcaf149b 100644 --- a/opm/polymer/fullyimplicit/BlackoilPolymerModel_impl.hpp +++ b/opm/polymer/fullyimplicit/BlackoilPolymerModel_impl.hpp @@ -279,11 +279,12 @@ namespace Opm { template - void BlackoilPolymerModel::addWellContributionToMassBalanceEq(const SolutionState& state, - const WellState& xw, - const std::vector& cq_s) + void BlackoilPolymerModel::addWellContributionToMassBalanceEq(const std::vector& cq_s, + const SolutionState& state, + WellState& xw) + { - Base::addWellContributionToMassBalanceEq(state, xw, cq_s); + Base::addWellContributionToMassBalanceEq(cq_s, state, xw); // Add well contributions to polymer mass balance equation if (has_polymer_) {