mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 20:20:48 -06:00
Fixing the crash on retreiving the fractureActive index on none dual porosity again.
p4#: 20326
This commit is contained in:
parent
66f0bc03bd
commit
df40d89fe9
1
ThirdParty/Ert/devel/libecl/src/ecl_grid.c
vendored
1
ThirdParty/Ert/devel/libecl/src/ecl_grid.c
vendored
@ -3005,6 +3005,7 @@ int ecl_grid_get_active_fracture_index3(const ecl_grid_type * ecl_grid , int i ,
|
||||
*/
|
||||
|
||||
int ecl_grid_get_active_fracture_index1(const ecl_grid_type * ecl_grid , int global_index) {
|
||||
if (!ecl_grid->fracture_index_map) return -1;
|
||||
return ecl_grid->fracture_index_map[global_index];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user