Skip to content
Snippets Groups Projects
Commit 8e0869cd authored by spiglerg's avatar spiglerg
Browse files

fixed tests

parent b515a1c4
No related branches found
No related tags found
No related merge requests found
...@@ -244,10 +244,10 @@ class RailEnv: ...@@ -244,10 +244,10 @@ class RailEnv:
if movement >= 4: if movement >= 4:
movement -= 4 movement -= 4
is_deadend = False
if action == 2: if action == 2:
# compute number of possible transitions in the current # compute number of possible transitions in the current
# cell # cell
is_deadend = False
nbits = 0 nbits = 0
tmp = self.rail.get_transitions((pos[0], pos[1])) tmp = self.rail.get_transitions((pos[0], pos[1]))
while tmp > 0: while tmp > 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment