Merge pull request #1987 from joakim-hove/apply-action-report-step

Add reportStep argument to Schedule::actions()
This commit is contained in:
Atgeirr Flø Rasmussen 2019-09-04 14:24:58 +02:00 committed by GitHub
commit e2abc845f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1021,7 +1021,7 @@ public:
void applyActions(int reportStep,
Opm::Schedule& schedule,
const Opm::SummaryState& summaryState) {
const auto& actions = schedule.actions();
const auto& actions = schedule.actions(reportStep);
if (actions.empty())
return;