diff --git a/opm/parser/eclipse/Applications/Schedule.cpp b/opm/parser/eclipse/Applications/Schedule.cpp index b3257ecb3..0bfcf174e 100644 --- a/opm/parser/eclipse/Applications/Schedule.cpp +++ b/opm/parser/eclipse/Applications/Schedule.cpp @@ -18,7 +18,7 @@ int main(int /* argc */, char** argv) { std::string file = argv[1]; Opm::DeckConstPtr deck = parser->parseFile(file, parseMode); std::shared_ptr grid = std::make_shared( deck ); - Opm::IOConfigPtr ioConfig; + Opm::IOConfigPtr ioConfig = std::make_shared(); Opm::Schedule sched( parseMode , grid , deck, ioConfig ); std::cout << "Wells: " << sched.numWells() << std::endl;