Commit 9bc21050 authored by Erik Nygren's avatar Erik Nygren 🚅
Browse files

fixed bugs in code but got new assertion error in tests. these need to be...

fixed bugs in code but got new assertion error in tests. these need to be investigated before removing
parent 78b07263
Pipeline #2170 failed with stages
in 21 minutes and 15 seconds
......@@ -53,7 +53,7 @@ class SingleAgentNavigationObs(TreeObsForRailEnv):
min_distances.append(np.inf)
observation = [0, 0, 0]
observation[np.argmin(min_distances)[0]] = 1
observation[np.argmin(min_distances)] = 1
return observation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment