mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-14 04:41:56 -06:00
Merge pull request #3188 from joakim-hove/actionx-record-correct-time
Record the correct simulation time in ActionState
This commit is contained in:
commit
a446e9619c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user