mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-26 21:27:15 -05:00
Fixing the crash on retreiving the fractureActive index on none dual porosity again.
p4#: 20326
This commit is contained in:
+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