From 825503b584e98a0ee3302ddbca9924ea883dbdd8 Mon Sep 17 00:00:00 2001 From: Tobias Duswald Date: Mon, 8 Jan 2024 10:37:11 +0100 Subject: [PATCH] Postschedule GetOlder --- src/bdm-simulation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bdm-simulation.h b/src/bdm-simulation.h index 3bef120..6904129 100644 --- a/src/bdm-simulation.h +++ b/src/bdm-simulation.h @@ -84,7 +84,7 @@ inline int Simulate(int argc, const char** argv) { OperationRegistry::GetInstance()->AddOperationImpl( "GetOlder", OpComputeTarget::kCpu, new GetOlderOperation()); auto* get_older = NewOperation("GetOlder"); - scheduler->ScheduleOp(get_older, OpType::kPreSchedule); + scheduler->ScheduleOp(get_older, OpType::kPostSchedule); // Run simulation for timesteps {