Skip to content
Snippets Groups Projects
Commit 9efa12c2 authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

bug fix

parent 70b2c6d6
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ class Demo:
# Action
for iAgent in range(self.env.get_num_agents()):
action = 2
agent = self.env.agents.[iAgent]
agent = self.env.agents[iAgent]
if not self.env.check_action(agent, action)[1]:
action = np.random.choice(self.action_size)
action_dict.update({iAgent: action})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment