Use existing TimeMap, instead of creating new.

This commit is contained in:
Atgeirr Flø Rasmussen 2014-11-03 13:33:30 +01:00
parent 9f587fee21
commit 03a84a3ac4

View File

@ -237,7 +237,7 @@ try
rep = simulator.run(simtimer, state, well_state);
} else {
// With a deck, we may have more epochs etc.
Opm::TimeMapPtr timeMap(new Opm::TimeMap(deck));
Opm::TimeMapConstPtr timeMap = eclipseState->getSchedule()->getTimeMap();
std::cout << "\n\n================ Starting main simulation loop ===============\n"
<< " (number of report steps: "