mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#11735 Use static well path geometry if no simulation well data is available
Crash when creating intersection on a simulation well no well data is present at time step
This commit is contained in:
parent
eca17ab92e
commit
aabe7b064d
@ -74,7 +74,7 @@ std::vector<SimulationWellCellBranch>
|
||||
{
|
||||
const RigWellResultFrame* wellFramePtr = nullptr;
|
||||
|
||||
if ( timeStepIndex < 0 )
|
||||
if ( timeStepIndex < 0 || !wellResults->hasWellResult( timeStepIndex ) )
|
||||
{
|
||||
wellFramePtr = wellResults->staticWellResultFrame();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user