Skip to content

Commit 0181fe7

Browse files
authored
fix docs tictactoc dummy vector env #669 (#749)
a fix for #669
1 parent 128feb6 commit 0181fe7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/tutorials/tictactoe.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ With the above preparation, we are close to the first learned agent. The followi
428428
agent_opponent: Optional[BasePolicy] = None,
429429
) -> None:
430430
env = get_env()
431+
env = DummyVectorEnv([lambda: env])
431432
policy, optim, agents = get_agents(
432433
args, agent_learn=agent_learn, agent_opponent=agent_opponent
433434
)

0 commit comments

Comments
 (0)