Use ScheduleState to manage well lists

This commit is contained in:
Joakim Hove
2021-01-12 20:18:40 +01:00
parent c2abcb188e
commit 5dd3e308f5
+1 -1
View File
@@ -1295,7 +1295,7 @@ public:
if (actions.empty())
return;
Opm::Action::Context context( summaryState, schedule.getWListManager(reportStep) );
Opm::Action::Context context( summaryState, schedule[reportStep].wlist_manager() );
auto now = Opm::TimeStampUTC( schedule.getStartTime() ) + std::chrono::duration<double>(sim_time);
std::string ts;
{