From 685c57a1167d47df082ddc363a4dc2bf85e90116 Mon Sep 17 00:00:00 2001 From: Luigi Berducci Date: Tue, 26 Dec 2023 11:04:39 +0100 Subject: [PATCH] Update typing gym/f110_gym/envs/base_classes.py --- gym/f110_gym/envs/base_classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gym/f110_gym/envs/base_classes.py b/gym/f110_gym/envs/base_classes.py index b70c06cf..016569f9 100644 --- a/gym/f110_gym/envs/base_classes.py +++ b/gym/f110_gym/envs/base_classes.py @@ -407,7 +407,7 @@ def __init__( self.ego_idx = ego_idx self.params = params self.agent_poses = np.empty((self.num_agents, 3)) - self.agents: List[RaceCar] = [] + self.agents: list[RaceCar] = [] self.collisions = np.zeros((self.num_agents,)) self.collision_idx = -1 * np.ones((self.num_agents,)) self.model = model