Avoid unused paramter

This commit is contained in:
Vegard Kippe 2023-11-14 13:34:39 +01:00
parent a47aee1af5
commit 3d8b7e863e

View File

@ -60,8 +60,7 @@ namespace {
doubhead[VI::doubhead::Netbalnpre]);
}
double thpToleranceValue(const std::vector<double>& doubhead,
const Opm::UnitSystem& usys)
double thpToleranceValue(const std::vector<double>& doubhead)
{
return doubhead[VI::doubhead::Netbalthpc];
}
@ -111,7 +110,7 @@ Opm::RestartIO::RstNetbalan::RstNetbalan(const std::vector<int>& intehead,
: calc_interval_ (calcInterval(doubhead, usys))
, ptol_ (pressureToleranceValue(doubhead, usys))
, pressure_max_iter_ (maxBalanceIter(intehead))
, thp_tolerance_ (thpToleranceValue(doubhead, usys))
, thp_tolerance_ (thpToleranceValue(doubhead))
, thp_max_iter_ (maxTHPIter(intehead))
, target_branch_balance_error_(targetBranchBalanceError(doubhead, usys))
, max_branch_balance_error_ (maxBranchBalanceError(doubhead, usys))