소스 검색

fix a crash

Sven Czarnian 3 년 전
부모
커밋
57867a2e21
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      aman/sys/aco/Ant.py

+ 1 - 1
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