mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix for reading wells, verified to be working on case TestCase_LGR_Amalg
806a18a137
p4#: 21153
This commit is contained in:
parent
b0c3bc5fba
commit
1b07630239
@ -169,7 +169,7 @@ static int well_state_get_lgr_well_nr( const well_state_type * well_state , cons
|
||||
if (ecl_file_has_kw( ecl_file , ZWEL_KW)) {
|
||||
ecl_rsthead_type * header = ecl_rsthead_alloc( ecl_file ); //
|
||||
const ecl_kw_type * zwel_kw = ecl_file_iget_named_kw( ecl_file , ZWEL_KW , 0);
|
||||
int num_wells = ecl_kw_get_size( zwel_kw );
|
||||
int num_wells = header->nwells;
|
||||
well_nr = 0;
|
||||
while (true) {
|
||||
bool found = false;
|
||||
|
Loading…
Reference in New Issue
Block a user