Skip to content

Commit

Permalink
seeding is handled differently in newer gym versions
Browse files Browse the repository at this point in the history
  • Loading branch information
saleml committed Aug 4, 2022
1 parent e604b36 commit b7c0903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

def make_env(env_key, seed=None):
env = gym.make(env_key)
env.seed(seed)
env.reset(seed=seed)
return env

0 comments on commit b7c0903

Please sign in to comment.