From 1e2d72a7f9957cbfd4376be6d26869029274d11b Mon Sep 17 00:00:00 2001
From: u214892 <u214892@sbb.ch>
Date: Thu, 6 Jun 2019 12:05:33 +0200
Subject: [PATCH] #50 remove stale code

---
 flatland/envs/env_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flatland/envs/env_utils.py b/flatland/envs/env_utils.py
index c9847fa5..821384d4 100644
--- a/flatland/envs/env_utils.py
+++ b/flatland/envs/env_utils.py
@@ -157,7 +157,7 @@ def a_star(rail_trans, rail_array, start, end):
             # create the f, g, and h values
             child.g = current_node.g + 1
             # this heuristic favors diagonal paths:
-            # child.h = ((child.pos[0] - end_node.pos[0]) ** 2) + ((child.pos[1] - end_node.pos[1]) ** 2) \ #  noqa: E800
+            # child.h = ((child.pos[0] - end_node.pos[0]) ** 2) + ((child.pos[1] - end_node.pos[1]) ** 2) \#  noqa: E800
             # this heuristic avoids diagonal paths
             child.h = abs(child.pos[0] - end_node.pos[0]) + abs(child.pos[1] - end_node.pos[1])
             child.f = child.g + child.h
-- 
GitLab