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

Fixed formatting

parent 77e447fe
No related branches found
No related tags found
No related merge requests found
......@@ -195,8 +195,6 @@ class RailEnv(Environment):
# for i in range(len(self.agents_handles)):
for iAgent in range(self.get_num_agents()):
agent = self.agents[iAgent]
if iAgent % 2 == 0:
agent.speed_data["speed"] = 1. / 10.
if self.dones[iAgent]: # this agent has already completed...
continue
......
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