mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Record the correct simulation time in ActionState
This commit is contained in:
parent
42a6505cf1
commit
590c9443ec
@ -1381,7 +1381,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool commit_wellstate = false;
|
bool commit_wellstate = false;
|
||||||
auto simTime = schedule.simTime(reportStep);
|
auto simTime = Opm::asTimeT(now);
|
||||||
for (const auto& action : actions.pending(actionState, simTime)) {
|
for (const auto& action : actions.pending(actionState, simTime)) {
|
||||||
auto actionResult = action->eval(context);
|
auto actionResult = action->eval(context);
|
||||||
if (actionResult) {
|
if (actionResult) {
|
||||||
|
Loading…
Reference in New Issue
Block a user