mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
(#555) Fixed issue for cases not part of a grid case group
This commit is contained in:
@@ -216,7 +216,7 @@ bool RicCloseCaseFeature::userConfirmedGridCaseGroupChange(const std::vector<Rim
|
||||
RimIdenticalGridCaseGroup* gridCaseGroup = NULL;
|
||||
casesToBeDeleted[i]->firstAnchestorOrThisOfType(gridCaseGroup);
|
||||
|
||||
if (hasAnyStatisticsResults(gridCaseGroup))
|
||||
if (gridCaseGroup && hasAnyStatisticsResults(gridCaseGroup))
|
||||
{
|
||||
gridCaseGroups.push_back(gridCaseGroup);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user