Merge pull request #3188 from joakim-hove/actionx-record-correct-time

Record the correct simulation time in ActionState
This commit is contained in:
Joakim Hove 2021-04-27 14:07:53 +02:00 committed by GitHub
commit a446e9619c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {