From 1e031dcb7c77674a1fee453c0bf581787d040174 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Wed, 15 Dec 2021 13:17:40 +0100 Subject: [PATCH] fix a wrong comment --- aman/sys/aco/Node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aman/sys/aco/Node.py b/aman/sys/aco/Node.py index 58ac305..329cc2f 100644 --- a/aman/sys/aco/Node.py +++ b/aman/sys/aco/Node.py @@ -198,7 +198,7 @@ class Node: avgSpeedDecrease = avgSpeed * 0.80 decreasedSpeedFlighttime = (trackmiles / avgSpeedDecrease) * 3600.0 # given in seconds - # calculate shortcut gain and add 15 miles for final and base turn + # use the the distance to the IAF for optimizations timeUntilIAF = flightTime - flightTimeOnStar if 0.0 > timeUntilIAF.total_seconds(): timeUntilIAF = timedelta(seconds = 0)