mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
StimPlanModel: avoid crashing on incomplete projects.
This commit is contained in:
@@ -114,7 +114,7 @@ bool RimStimPlanModelStressCalculator::calculate( RiaDefines::CurveProperty curv
|
||||
addDatapointsForBottomOfLayers( tvDepthValues, values );
|
||||
}
|
||||
|
||||
if ( eclipseCase )
|
||||
if ( eclipseCase && eclipseCase->eclipseCaseData() )
|
||||
{
|
||||
RigEclipseWellLogExtractor eclExtractor( eclipseCase->eclipseCaseData(), wellPathGeometry, "fracture model" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user