There was an error while loading. Please reload this page.
1 parent 3ad25b0 commit eb82599Copy full SHA for eb82599
multiagent/policy.py
@@ -37,7 +37,7 @@ def action(self, obs):
37
if self.move[2]: u[4] += 1.0
38
if True not in self.move:
39
u[0] += 1.0
40
- return np.concatenate([u. np.zeros(envo.world.dim_c)])
+ return np.concatenate([u, np.zeros(self.env.world.dim_c)])
41
42
# keyboard event callbacks
43
def key_press(self, k, mod):
0 commit comments