Bugfix: local variable shadowed proper variable.

This commit is contained in:
Atgeirr Flø Rasmussen 2014-05-21 19:48:48 +02:00
parent f0d908d104
commit 4734052d86

View File

@ -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