From dc2542bc2064d38111d4ecbc5b6d40de8acef458 Mon Sep 17 00:00:00 2001 From: u214892 <u214892@sbb.ch> Date: Wed, 5 Jun 2019 08:38:33 +0200 Subject: [PATCH] 47 flake8 line too long --- flatland/envs/observations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flatland/envs/observations.py b/flatland/envs/observations.py index 22ebf264..2bf1b55c 100644 --- a/flatland/envs/observations.py +++ b/flatland/envs/observations.py @@ -420,7 +420,8 @@ class TreeObsForRailEnv(ObservationBuilder): for i in range(self.max_depth - depth): num_cells_to_fill_in += pow4 pow4 *= 4 - observation = observation + [-np.inf, -np.inf, -np.inf, -np.inf, -np.inf, -np.inf] * num_cells_to_fill_in + observation = \ + observation + [-np.inf, -np.inf, -np.inf, -np.inf, -np.inf, -np.inf] * num_cells_to_fill_in return observation, visited -- GitLab