From 4f90eff8d5f25692ee1b1b991e26cdc0bac6e0d5 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Fri, 5 Feb 2021 09:39:35 +0100 Subject: [PATCH] Pass simulation time argument to applyAction --- ebos/eclproblem.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 25464fec1..68ddf4719 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -1329,7 +1329,7 @@ public: } std::string msg = "The action: " + action->name() + " evaluated to true at " + ts + " wells: " + wells_string; Opm::OpmLog::info(msg); - schedule.applyAction(reportStep, *action, actionResult); + schedule.applyAction(reportStep, std::chrono::system_clock::from_time_t(simTime), *action, actionResult); actionState.add_run(*action, simTime); } else { std::string msg = "The action: " + action->name() + " evaluated to false at " + ts;