mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3902 Summary Stepping : Fix issues for well name, region and well group name
This commit is contained in:
@@ -520,14 +520,14 @@ RifEclipseSummaryAddress RifEclipseSummaryAddress::ensembleStatisticsAddress(con
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RifEclipseSummaryAddress::isDependentOnWellName(const RifEclipseSummaryAddress& address)
|
||||
bool RifEclipseSummaryAddress::isDependentOnWellName(SummaryVarCategory category)
|
||||
{
|
||||
// clang-format off
|
||||
if (address.category() == SUMMARY_WELL ||
|
||||
address.category() == SUMMARY_WELL_COMPLETION ||
|
||||
address.category() == SUMMARY_WELL_COMPLETION_LGR ||
|
||||
address.category() == SUMMARY_WELL_LGR ||
|
||||
address.category() == SUMMARY_WELL_SEGMENT)
|
||||
if (category == SUMMARY_WELL ||
|
||||
category == SUMMARY_WELL_COMPLETION ||
|
||||
category == SUMMARY_WELL_COMPLETION_LGR ||
|
||||
category == SUMMARY_WELL_LGR ||
|
||||
category == SUMMARY_WELL_SEGMENT)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user