Record the correct simulation time in ActionState

This commit is contained in:
Joakim Hove 2021-04-27 11:44:03 +02:00
parent 42a6505cf1
commit 590c9443ec

View File

@ -1381,7 +1381,7 @@ public:
}
bool commit_wellstate = false;
auto simTime = schedule.simTime(reportStep);
auto simTime = Opm::asTimeT(now);
for (const auto& action : actions.pending(actionState, simTime)) {
auto actionResult = action->eval(context);
if (actionResult) {