Skip to content
Snippets Groups Projects
Commit dc2542bc authored by u214892's avatar u214892
Browse files

47 flake8 line too long

parent e647ee57
No related branches found
No related tags found
No related merge requests found
...@@ -420,7 +420,8 @@ class TreeObsForRailEnv(ObservationBuilder): ...@@ -420,7 +420,8 @@ class TreeObsForRailEnv(ObservationBuilder):
for i in range(self.max_depth - depth): for i in range(self.max_depth - depth):
num_cells_to_fill_in += pow4 num_cells_to_fill_in += pow4
pow4 *= 4 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 return observation, visited
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment