From f389fe2eca496fcfc8ac3b3fea9c8762d7f0083c Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Thu, 6 Aug 2015 15:12:04 +0200 Subject: [PATCH] Fixed bug with IOConfig initialization. --- opm/parser/eclipse/Applications/Schedule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;