#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:
Magne Sjaastad 2023-08-11 14:37:10 +02:00
parent beb43c585c
commit 0d8cf73677

View File

@ -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;
}