Skip to content

Commit

Permalink
Fix for FL9X
Browse files Browse the repository at this point in the history
  • Loading branch information
bubeck committed Nov 8, 2023
1 parent 35cbae1 commit 2b9ebc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/check-consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def checkDB(records):
(dist1_cm, bearing) = common.geo_distance(element["center"][0],element["center"][1], element["start"][0], element["start"][1])
(dist2_cm, bearing) = common.geo_distance(element["center"][0],element["center"][1], element["end"][0], element["end"][1])
diff_m = abs(dist1_cm-dist2_cm)/100
if diff_m > 30:
if diff_m > 40:
if diff_m > 100:
prio = 1
else:
Expand Down Expand Up @@ -329,7 +329,7 @@ def checkHeightFL(height):
else:
if h.isnumeric():
fl = int(h)
if int(fl / 5) * 5 == fl:
if int(fl / 5) * 5 != fl:
return 2
return 0

Expand Down

0 comments on commit 2b9ebc6

Please sign in to comment.