mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 07:03:25 -06:00
Guard for empty summary case
This commit is contained in:
parent
9d0e59c60f
commit
dffaf8ed25
@ -240,6 +240,8 @@ void RiuSummaryCurveDefSelection::setSelectedCurveDefinitions(const std::vector<
|
||||
for (const auto& caseAddressPair : curveDefinitions)
|
||||
{
|
||||
RimSummaryCase* summaryCase = caseAddressPair.summaryCase();
|
||||
if (!summaryCase) continue;
|
||||
|
||||
const RifEclipseSummaryAddress& summaryAddress = caseAddressPair.summaryAddress();
|
||||
|
||||
// Select summary category if not already selected
|
||||
|
Loading…
Reference in New Issue
Block a user