Fixed interation

Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
merspieler 2019-04-22 00:14:42 +00:00
parent 0593f62cc0
commit 9a917564e8

View file

@ -136,9 +136,9 @@ def norm(num, length):
run_all("n-pole", -180, 80, 180, 90) run_all("n-pole", -180, 80, 180, 90)
run_all("s-pole", -180, -90, 180, -80) run_all("s-pole", -180, -90, 180, -80)
for i in range(-8, 8): for i in range(-7, 9):
i *= 10 i *= 10
for j in range(-18, 17): for j in range(-18, 18):
j *= 10 j *= 10
if i >= 0: if i >= 0:
ns = "n" ns = "n"
@ -149,7 +149,7 @@ for i in range(-8, 8):
else: else:
ew = "w" ew = "w"
name = ew + norm(j, 3) + ns + norm(i, 2) name = ew + norm(abs(j), 3) + ns + norm(abs(i), 2)
run_all(name, j, i, j + 10, i + 10) run_all(name, j, i, j + 10, i + 10)