mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed missing open of INIT file
p4#: 20666
This commit is contained in:
@@ -1010,8 +1010,8 @@ bool RifReaderEclipseOutput::openInitFile()
|
||||
QString initFileName = RifEclipseOutputFileTools::fileNameByType(m_fileSet, ECL_INIT_FILE);
|
||||
if (initFileName.size() > 0)
|
||||
{
|
||||
ecl_file_type* ecl_init_file = ecl_file_open(initFileName.toAscii().data());
|
||||
if (ecl_init_file)
|
||||
m_ecl_init_file = ecl_file_open(initFileName.toAscii().data());
|
||||
if (m_ecl_init_file)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user