diff --git a/grid2op/Chronics/multifolderWithCache.py b/grid2op/Chronics/multifolderWithCache.py index ed4217d2..a2b04c80 100644 --- a/grid2op/Chronics/multifolderWithCache.py +++ b/grid2op/Chronics/multifolderWithCache.py @@ -291,7 +291,7 @@ def seed(self, seed : int): """ res = super().seed(seed) max_int = np.iinfo(dt_int).max - self._cached_seeds = np.empty(len(shape=self._cached_data), dtype=dt_int) + self._cached_seeds = np.empty(len(self._cached_data), dtype=dt_int) for i in self._order: data = self._cached_data[i] seed_ts = self.space_prng.randint(max_int)