mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed crash when activating riMULT
This commit is contained in:
parent
6857bd3122
commit
7daf170f99
@ -1026,6 +1026,8 @@ void RimReservoirCellResultsStorage::computeNncCombRiTrans()
|
||||
break;
|
||||
}
|
||||
|
||||
if (!permIdxFunc) continue;
|
||||
|
||||
// Do nothing if we are only dealing with active cells, and this cell is not active:
|
||||
size_t nativeCellPermResIdx = (*permIdxFunc)(activeCellInfo, nativeResvCellIndex);
|
||||
if (nativeCellPermResIdx == cvf::UNDEFINED_SIZE_T) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user