mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3206 ecllib crash. Temporary patch to handle huge ensembles
This commit is contained in:
parent
8d6214b76d
commit
f6e6cacc36
2
ThirdParty/Ert/lib/ecl/ecl_unsmry_loader.cpp
vendored
2
ThirdParty/Ert/lib/ecl/ecl_unsmry_loader.cpp
vendored
@ -18,7 +18,7 @@ unsmry_loader::unsmry_loader(const ecl_smspec_type * smspec, const std::string&
|
||||
time_seconds(ecl_smspec_get_time_seconds(smspec)),
|
||||
sim_start(ecl_smspec_get_start_time(smspec))
|
||||
{
|
||||
int options = 0;
|
||||
int options = ECL_FILE_CLOSE_STREAM;
|
||||
ecl_file_type * file = ecl_file_open(filename.c_str(), options);
|
||||
if (!file)
|
||||
throw std::bad_alloc();
|
||||
|
Loading…
Reference in New Issue
Block a user