From 739df52fa75de187d62810c66ffc235cf4c921f9 Mon Sep 17 00:00:00 2001 From: Giacomo Spigler <spiglerg@gmail.com> Date: Tue, 11 Jun 2019 10:56:46 +0200 Subject: [PATCH] fixed issue #60 --- flatland/envs/rail_env.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flatland/envs/rail_env.py b/flatland/envs/rail_env.py index c3ed6e02..6cd64514 100644 --- a/flatland/envs/rail_env.py +++ b/flatland/envs/rail_env.py @@ -173,7 +173,9 @@ class RailEnv(Environment): # Return the new observation vectors for each agent return self._get_observations() - def step(self, action_dict): + def step(self, action_dict_): + action_dict = action_dict_.copy() + alpha = 1.0 beta = 1.0 -- GitLab