Commit 0a8f0b00 authored by Kirill Terekhov's avatar Kirill Terekhov

Fix for eclipse grids reader

Prevent crash for meshes without ACTNUM
parent a9442708
......@@ -4280,7 +4280,7 @@ namespace INMOST
bool has_cell = false;
for(int kk = k-1; kk >= 0; --kk)
{
if( actnum[ECL_IJK_DATA(i,j,kk)] )
if( actnum.empty() || actnum[ECL_IJK_DATA(i,j,kk)] )
{
has_cell = true;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment