mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
Bugfix: local variable shadowed proper variable.
This commit is contained in:
parent
f0d908d104
commit
4734052d86
@ -104,7 +104,7 @@ try
|
||||
if (use_deck) {
|
||||
std::string deck_filename = param.get<std::string>("deck_filename");
|
||||
Opm::ParserPtr parser(new Opm::Parser());
|
||||
Opm::DeckConstPtr deck = parser->parseFile( deck_filename );
|
||||
deck = parser->parseFile( deck_filename );
|
||||
eclipseState.reset(new EclipseState(deck));
|
||||
|
||||
// Grid init
|
||||
|
Loading…
Reference in New Issue
Block a user