Skip to content
Snippets Groups Projects
Commit 81819368 authored by spmohanty's avatar spmohanty
Browse files

Move random seeding of RailEnv to the reset function

parent fd97e976
No related branches found
Tags v0.3.5
No related merge requests found
......@@ -188,6 +188,8 @@ class RailEnv(Environment):
self.distance_map = DistanceMap(self.agents, self.height, self.width)
self.action_space = [1]
self._seed()
self._seed()
self.random_seed = random_seed
......
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