mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
#11132 Guard crash when accessing simulation well data
This commit is contained in:
1 parent
0ff5365406
commit
91fdd7efe1
1 file changed
+2
@@ -1291,6 +1291,8 @@ std::vector<QString> RimWellConnectivityTable::getViewFilteredWellNamesFromFilte
|
||||
const auto productionWellResultFrame = wellResult->staticWellResultFrame();
|
||||
for ( const auto& resultPoint : productionWellResultFrame->allResultPoints() )
|
||||
{
|
||||
if ( !resultPoint.isCell() ) continue;
|
||||
|
||||
if ( cellIdxCalc.isCellVisible( resultPoint.gridIndex(), resultPoint.cellIndex() ) )
|
||||
{
|
||||
productionWells.push_back( wellResult->m_wellName );
|
||||
|
||||
Reference in new issue
Block a user