mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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