diff --git a/opm/core/props/satfunc/RelpermDiagnostics.cpp b/opm/core/props/satfunc/RelpermDiagnostics.cpp index 0f93592d7..830badd22 100644 --- a/opm/core/props/satfunc/RelpermDiagnostics.cpp +++ b/opm/core/props/satfunc/RelpermDiagnostics.cpp @@ -606,8 +606,7 @@ namespace Opm{ - void RelpermDiagnostics::unscaledEndPointsCheck_(const Deck& deck, - const EclipseState& eclState) + void RelpermDiagnostics::unscaledEndPointsCheck_(const EclipseState& eclState) { // get the number of saturation regions and the number of cells in the deck const int numSatRegions = eclState.runspec().tabdims().getNumSatTables(); @@ -621,7 +620,7 @@ namespace Opm{ // std::cout << "***************\nEnd-Points In all the Tables\n"; for (int satnumIdx = 0; satnumIdx < numSatRegions; ++satnumIdx) { - unscaledEpsInfo_[satnumIdx].extractUnscaled(deck, eclState, satnumIdx); + unscaledEpsInfo_[satnumIdx].extractUnscaled(eclState, satnumIdx); const std::string regionIdx = std::to_string(satnumIdx + 1); ///Consistency check. if (unscaledEpsInfo_[satnumIdx].Sgu > (1. - unscaledEpsInfo_[satnumIdx].Swl)) { diff --git a/opm/core/props/satfunc/RelpermDiagnostics.hpp b/opm/core/props/satfunc/RelpermDiagnostics.hpp index cccf56882..4cac01f0f 100644 --- a/opm/core/props/satfunc/RelpermDiagnostics.hpp +++ b/opm/core/props/satfunc/RelpermDiagnostics.hpp @@ -92,8 +92,7 @@ namespace Opm { void tableCheck_(const EclipseState& eclState); ///Check endpoints in the saturation tables. - void unscaledEndPointsCheck_(const Deck& deck, - const EclipseState& eclState); + void unscaledEndPointsCheck_(const EclipseState& eclState); template void scaledEndPointsCheck_(const Deck& deck, diff --git a/opm/core/props/satfunc/RelpermDiagnostics_impl.hpp b/opm/core/props/satfunc/RelpermDiagnostics_impl.hpp index 38c484f1c..14c0f3003 100644 --- a/opm/core/props/satfunc/RelpermDiagnostics_impl.hpp +++ b/opm/core/props/satfunc/RelpermDiagnostics_impl.hpp @@ -40,7 +40,7 @@ namespace Opm { phaseCheck_(eclState); satFamilyCheck_(eclState); tableCheck_(eclState); - unscaledEndPointsCheck_(deck, eclState); + unscaledEndPointsCheck_(eclState); scaledEndPointsCheck_(deck, eclState, grid); }