#2959 Fix crash when loading ODB file without overburden.

This commit is contained in:
Gaute Lindkvist committed 2018-05-25 09:36:46 +02:00
1 parent fb7d24e99d
commit 14a5fd4009
5 files changed
+87 -44

No files matched your search

@@ -398,7 +398,8 @@ RigCaseToCaseRangeFilterMapper::findBestFemCellFromEclCell(const RigMainGrid* ma
if (elmIdxToBestMatch != -1)
{
dependentFemPart->structGrid()->ijkFromCellIndex(elmIdxToBestMatch, fi, fj, fk);
bool validIndex = dependentFemPart->structGrid()->ijkFromCellIndex(elmIdxToBestMatch, fi, fj, fk);
CVF_ASSERT(validIndex);
}
else
{