fix a crash

此提交包含在:
Sven Czarnian
2021-12-22 15:47:11 +01:00
父節點 f6736133a7
當前提交 57867a2e21

查看文件

@@ -26,7 +26,7 @@ class Ant:
# Implements function (5) # Implements function (5)
def heuristicInformation(self, current : int): 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: if None == eta:
return -1.0 return -1.0