Skip to content
Snippets Groups Projects
Commit 5dd5d2f5 authored by Erik Nygren's avatar Erik Nygren
Browse files

minor updates to observation features.

ALso reinstated the dead-end branching to keep trees smaller
parent 4babb70d
No related branches found
No related tags found
No related merge requests found
......@@ -408,7 +408,7 @@ class TreeObsForRailEnv(ObservationBuilder):
nbits = total_transitions
if nbits == 1:
# Dead-end!
last_is_dead_end = False
last_is_dead_end = True
if not last_is_dead_end:
# Keep walking through the tree along `direction'
......
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