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

Fixed formatting

parent 77e447fe
Pipeline #1210 failed with stages
in 9 minutes and 35 seconds
......@@ -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
......
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