From 66de088ddd45265ca6ab6e9a16f5f69bc9968c38 Mon Sep 17 00:00:00 2001 From: Giacomo Spigler <spiglerg@gmail.com> Date: Wed, 5 Jun 2019 22:18:14 +0200 Subject: [PATCH] fix? --- flatland/envs/agent_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatland/envs/agent_utils.py b/flatland/envs/agent_utils.py index 5105ec5d..09d796d4 100644 --- a/flatland/envs/agent_utils.py +++ b/flatland/envs/agent_utils.py @@ -31,7 +31,7 @@ class EnvAgentStatic(object): target = attrib() moving = attrib() - def __init__(self, position, direction, target): + def __init__(self, position, direction, target, moving=False): self.position = position self.direction = direction self.target = target -- GitLab