diff --git a/flatland/envs/agent_utils.py b/flatland/envs/agent_utils.py index 9d75dfef3b01ad87d7fe8ef302f1cb15fdaba5fc..bf6fc0de8b72b9996b45e00414ac61c9636cd7ce 100644 --- a/flatland/envs/agent_utils.py +++ b/flatland/envs/agent_utils.py @@ -44,7 +44,7 @@ class EnvAgentStatic(object): """ speed_datas = [] for i in range(len(positions)): - speed_datas.append( speed_data={'position_fraction':0.0, 'speed':1.0, 'transition_action_on_cellexit':2} ) + speed_datas.append( {'position_fraction':0.0, 'speed':1.0, 'transition_action_on_cellexit':2} ) return list(starmap(EnvAgentStatic, zip(positions, directions, targets, [False] * len(positions), speed_datas))) def to_list(self):