From 57867a2e21a3eed706fd644010c3357371fc66c2 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Wed, 22 Dec 2021 15:47:11 +0100 Subject: [PATCH] fix a crash --- aman/sys/aco/Ant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aman/sys/aco/Ant.py b/aman/sys/aco/Ant.py index ca5777f..8dcdf6d 100644 --- a/aman/sys/aco/Ant.py +++ b/aman/sys/aco/Ant.py @@ -26,7 +26,7 @@ class Ant: # Implements function (5) def heuristicInformation(self, current : int): - _, eta, _ = self.RunwayManager.selectArrivalRunway(self.Nodes[current], self.Configuration.EarliestArrivalTime) + _, _, _, eta, _ = self.RunwayManager.selectArrivalRunway(self.Nodes[current], self.Configuration.EarliestArrivalTime) if None == eta: return -1.0