mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Fixing the crash on retreiving the fractureActive index on none dual porosity again.
p4#: 20326
This commit is contained in:
1 parent
66f0bc03bd
commit
df40d89fe9
1 file changed
+1
+1
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user