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:
@@ -74,6 +74,11 @@ bool RimStimPlanModelLayerCalculator::calculate( RiaDefines::CurveProperty curve
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( !eclipseCase->eclipseCaseData() )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( !stimPlanModel->thicknessDirectionWellPath() )
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user