Skip to content

Commit

Permalink
Update torchrl/envs/libs/pettingzoo.py
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Moens <[email protected]>
  • Loading branch information
matteobettini and vmoens authored Apr 3, 2024
1 parent 16685ce commit 3017909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrl/envs/libs/pettingzoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class PettingZooWrapper(_EnvWrapper):
them to categorical or one-hot.
seed (int, optional): the seed. Defaults to ``None``.
done_on_any (bool, optional): whether the environment's done keys are set by aggregating the agent keys
using ``any()`` (when True) or ``all()`` (when False). Default (``None``) is to use ``any()`` for
using ``any()`` (when ``True``) or ``all()`` (when ``False``). Default (``None``) is to use ``any()`` for
parallel environments and ``all()`` for AEC ones.
Examples:
Expand Down

0 comments on commit 3017909

Please sign in to comment.