mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use output_dir_ member instead of querying the parameters again.
This commit is contained in:
parent
385c7e74d2
commit
c7bbd2489e
@ -392,7 +392,7 @@ namespace Opm
|
||||
checkDeck(deck_, parser);
|
||||
eclipse_state_.reset(new EclipseState(deck_, parseContext));
|
||||
auto ioConfig = eclipse_state_->getIOConfig();
|
||||
ioConfig->setOutputDir(param_.getDefault("output_dir", std::string("output")));
|
||||
ioConfig->setOutputDir(output_dir_);
|
||||
}
|
||||
catch (const std::invalid_argument& e) {
|
||||
std::cerr << "Failed to create valid EclipseState object. See logfile: " << logFile_ << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user