Skip to content

Commit

Permalink
(OPM#713) Removed temporary workaround for NNC data import in ECLIPSE…
Browse files Browse the repository at this point in the history
… 2015
  • Loading branch information
magnesj committed Jan 8, 2016
1 parent cc9f20e commit 7b24b3a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ThirdParty/Ert/devel/libecl/src/ecl_grid.c
Original file line number Diff line number Diff line change
Expand Up @@ -2287,10 +2287,6 @@ static void ecl_grid_init_nnc(ecl_grid_type * main_grid, ecl_file_type * ecl_fil
int num_nnchead_kw = ecl_file_get_num_named_kw( ecl_file , NNCHEAD_KW );
int i;

if(num_nnchead_kw > 0 && main_grid->eclipse_version == 2015){
return; //Eclipse 2015 has an error with nnc.
}

for (i = 0; i < num_nnchead_kw; i++) {
ecl_file_push_block(ecl_file); /* <---------------------------------------------------------------- */
ecl_file_select_block(ecl_file , NNCHEAD_KW , i);
Expand Down

0 comments on commit 7b24b3a

Please sign in to comment.