Skip to content

Commit f21184c

Browse files
committed
fix seed
1 parent ee7d8ef commit f21184c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trinity/common/workflows/envs/frozen_lake/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ async def run_async(self) -> List[Experience]:
257257
"""
258258
# Reset environment and state for a new episode
259259
# But this only resets the player position, not the environment configuration.
260-
observation, info = self.gym_env.reset(self.seed)
260+
observation, info = self.gym_env.reset(seed=self.seed)
261261
self.current_observation = self.render()
262262
self.last_observation = self.current_observation
263263
self.done = False

0 commit comments

Comments
 (0)