Skip to content
Snippets Groups Projects
Commit 00201b71 authored by Erik Nygren's avatar Erik Nygren :bullettrain_front:
Browse files

minor bugfixes

parent d8c8f42b
No related branches found
No related tags found
No related merge requests found
......@@ -489,7 +489,7 @@ class TreeObsForRailEnv(ObservationBuilder):
depth += 1
pow4 *= 4
child_size = (len(tree) - num_features_per_node) // 4
tree_data = tree[0:num_features_per_node - 1].tolist()
tree_data = tree[0:num_features_per_node - 3].tolist()
distance_data = [tree[num_features_per_node - 3]]
agent_data = tree[-2:].tolist()
for children in range(4):
......
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