mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -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)
|
for (const auto& caseAddressPair : curveDefinitions)
|
||||||
{
|
{
|
||||||
RimSummaryCase* summaryCase = caseAddressPair.summaryCase();
|
RimSummaryCase* summaryCase = caseAddressPair.summaryCase();
|
||||||
|
if (!summaryCase) continue;
|
||||||
|
|
||||||
const RifEclipseSummaryAddress& summaryAddress = caseAddressPair.summaryAddress();
|
const RifEclipseSummaryAddress& summaryAddress = caseAddressPair.summaryAddress();
|
||||||
|
|
||||||
// Select summary category if not already selected
|
// Select summary category if not already selected
|
||||||
|
Loading…
Reference in New Issue
Block a user