mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#10493 Avoid crash during import of grid model from IX
The crash situation is caused by an invalid well state. Allowing the import to continue using the invalid well state seems to imported data correctly.
This commit is contained in:
parent
beb43c585c
commit
0d8cf73677
4
ThirdParty/Ert/lib/ecl/well_state.cpp
vendored
4
ThirdParty/Ert/lib/ecl/well_state.cpp
vendored
@ -390,7 +390,9 @@ well_type_enum well_state_translate_ecl_type_int(int int_type) {
|
||||
type = ECL_WELL_WATER_INJECTOR;
|
||||
break;
|
||||
default:
|
||||
util_abort("%s: Invalid type value %d\n",__func__ , int_type);
|
||||
// See https://github.com/OPM/ResInsight/issues/10493
|
||||
// util_abort("%s: Invalid type value %d\n",__func__ , int_type);
|
||||
break;
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user