From 70be822e2d16ed999ceabbf8ed35ba93ca4d5705 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Thu, 9 Dec 2021 11:34:06 +0100 Subject: [PATCH] fix a system crash --- aman/sys/aco/RunwayManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aman/sys/aco/RunwayManager.py b/aman/sys/aco/RunwayManager.py index 887b7f3..2613f8f 100644 --- a/aman/sys/aco/RunwayManager.py +++ b/aman/sys/aco/RunwayManager.py @@ -68,7 +68,7 @@ class RunwayManager: else: reference = node.ArrivalCandidates[runway.Runway.Name].InitialArrivalTime - eta, _ = self.calculateEarliestArrivalTime(runway.Runway.Name, node) + eta, _ = self.calculateEarliestArrivalTime(runway.Runway.Name, node, useETA, earliestArrivalTime) if None == delay: delay = eta - reference candidate = runway