mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Guard against missing well path geometry data
This commit is contained in:
@@ -218,7 +218,7 @@ std::vector<RigCompletionData> RicExportFractureCompletionsImpl::generateCompdat
|
||||
{
|
||||
std::vector<RigCompletionData> fractureCompletions;
|
||||
|
||||
if ( !caseToApply || !caseToApply->eclipseCaseData() )
|
||||
if ( !caseToApply || !caseToApply->eclipseCaseData() || !wellPathGeometry )
|
||||
{
|
||||
return fractureCompletions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user