Skip to content

Commit eb82599

Browse files
committed
fixed bugs with interactive.py
1 parent 3ad25b0 commit eb82599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multiagent/policy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def action(self, obs):
3737
if self.move[2]: u[4] += 1.0
3838
if True not in self.move:
3939
u[0] += 1.0
40-
return np.concatenate([u. np.zeros(envo.world.dim_c)])
40+
return np.concatenate([u, np.zeros(self.env.world.dim_c)])
4141

4242
# keyboard event callbacks
4343
def key_press(self, k, mod):

0 commit comments

Comments
 (0)