Guard for if eclipseCaseData is null

This commit is contained in:
Rebecca Cox
2017-12-01 15:39:54 +01:00
parent a5300032e9
commit 32c1fa25d5
3 changed files with 20 additions and 13 deletions
@@ -978,7 +978,8 @@ RigEclipseWellLogExtractor* RimWellLogTrack::createSimWellExtractor(RimWellLogPl
if (!wellLogCollection) return nullptr;
RimEclipseCase* eclipseCase = dynamic_cast<RimEclipseCase*>(rimCase);
if (!eclipseCase) return nullptr;
RimProject* proj = RiaApplication::instance()->project();
std::vector<const RigWellPath*> wellPaths = proj->simulationWellBranches(simWellName);