Fixed bug in initFlowEbosBlackoil()

The return code from the call to initialize_() in initFlowEbosBlackoil()
in Main.hpp was overwritten by a mistake.
This commit is contained in:
Håkon Hægland 2020-05-13 13:45:16 +02:00
parent 946b5f5806
commit 8bb914b144

View File

@ -194,7 +194,7 @@ namespace Opm
return Opm::flowEbosBlackoilMainInit(
argc_, argv_, outputCout_, outputFiles_);
} else {
exitCode = EXIT_FAILURE;
//NOTE: exitCode was set by initialize_() above;
return std::unique_ptr<FlowMainEbosType>(); // nullptr
}
}