Guard for if eclipseCaseData is null

This commit is contained in:
Rebecca Cox committed 2017-12-01 15:39:54 +01:00
1 parent a5300032e9
commit 32c1fa25d5
3 files changed
+20 -13

No files matched your search

@@ -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);