From 2310d0bcca4462fde6c963774b5b2f54682f21fd Mon Sep 17 00:00:00 2001 From: spiglerg <spiglerg@gmail.com> Date: Mon, 8 Apr 2019 14:47:55 +0200 Subject: [PATCH] fixed docstring example, tha nks to Guillaume --- flatland/core/transitions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flatland/core/transitions.py b/flatland/core/transitions.py index d70f8da..467ad67 100644 --- a/flatland/core/transitions.py +++ b/flatland/core/transitions.py @@ -158,7 +158,7 @@ class GridTransitions(Transitions): agent's direction: North East South West agent's allowed movements: [nesw] [nesw] [nesw] [nesw] - example: 0010 0000 1000 0000 + example: 1000 0000 0010 0000 In the example, the agent can move from North to South and viceversa. """ @@ -428,7 +428,7 @@ class RailEnvTransitions(GridTransitions): agent's direction: North East South West agent's allowed movements: [nesw] [nesw] [nesw] [nesw] - example: 0010 0000 1000 0000 + example: 1000 0000 0010 0000 In the example, the agent can move from North to South and viceversa. """ -- GitLab