Guard against missing well path geometry data

This commit is contained in:
Jacob Støren
2019-12-11 10:27:49 +01:00
parent 37b32c4e8a
commit 0f9b667c55
3 changed files with 9 additions and 4 deletions

View File

@@ -218,7 +218,7 @@ std::vector<RigCompletionData> RicExportFractureCompletionsImpl::generateCompdat
{
std::vector<RigCompletionData> fractureCompletions;
if ( !caseToApply || !caseToApply->eclipseCaseData() )
if ( !caseToApply || !caseToApply->eclipseCaseData() || !wellPathGeometry )
{
return fractureCompletions;
}