Skip to content

Commit 837638e

Browse files
committed
Update supersuit usage in assert messages
1 parent 151000b commit 837638e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tianshou/env/pettingzoo_env.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ def __init__(self, env: BaseWrapper):
5656
self.env.observation_space(agent) == self.observation_space for agent in self.agents
5757
), (
5858
"Observation spaces for all agents must be identical. Perhaps "
59-
"SuperSuit's pad_observations wrapper can help (useage: "
60-
"`supersuit.aec_wrappers.pad_observations(env)`"
59+
"SuperSuit's pad_observations wrapper can help (usage: "
60+
"`supersuit.pad_observations_v0(env)`"
6161
)
6262

6363
assert all(self.env.action_space(agent) == self.action_space for agent in self.agents), (
6464
"Action spaces for all agents must be identical. Perhaps "
65-
"SuperSuit's pad_action_space wrapper can help (useage: "
66-
"`supersuit.aec_wrappers.pad_action_space(env)`"
65+
"SuperSuit's pad_action_space wrapper can help (usage: "
66+
"`supersuit.pad_action_space_v0(env)`"
6767
)
6868

6969
self.reset()

0 commit comments

Comments
 (0)