mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 12:36:54 -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) {
|
if (use_deck) {
|
||||||
std::string deck_filename = param.get<std::string>("deck_filename");
|
std::string deck_filename = param.get<std::string>("deck_filename");
|
||||||
Opm::ParserPtr parser(new Opm::Parser());
|
Opm::ParserPtr parser(new Opm::Parser());
|
||||||
Opm::DeckConstPtr deck = parser->parseFile( deck_filename );
|
deck = parser->parseFile( deck_filename );
|
||||||
eclipseState.reset(new EclipseState(deck));
|
eclipseState.reset(new EclipseState(deck));
|
||||||
|
|
||||||
// Grid init
|
// Grid init
|
||||||
|
Loading…
Reference in New Issue
Block a user