From 03833fd946dac60f201cab516f1bd363183ee990 Mon Sep 17 00:00:00 2001 From: Erik Nygren <erik.nygren@sbb.ch> Date: Sat, 31 Aug 2019 21:02:21 -0400 Subject: [PATCH] fixing level generation and stability --- flatland/utils/simple_rail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatland/utils/simple_rail.py b/flatland/utils/simple_rail.py index f9f1009d..3dfa6bad 100644 --- a/flatland/utils/simple_rail.py +++ b/flatland/utils/simple_rail.py @@ -104,7 +104,7 @@ def make_simple_rail_unconnected() -> Tuple[GridTransitionMap, np.array]: horizontal_straight = transitions.rotate_transition(vertical_straight, 90) simple_switch_north_left = cells[2] simple_switch_north_right = cells[10] - simple_switch_east_west_north = transitions.rotate_transition(simple_switch_north_right, 270) + # simple_switch_east_west_north = transitions.rotate_transition(simple_switch_north_right, 270) simple_switch_east_west_south = transitions.rotate_transition(simple_switch_north_left, 270) rail_map = np.array( [[empty] * 3 + [dead_end_from_south] + [empty] * 6] + -- GitLab