Skip to content

Commit

Permalink
removed arglist from make_env
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-lowe committed Oct 20, 2017
1 parent eb82599 commit 926a161
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions make_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def make_env(scenario_name, benchmark=False):
# create world
world = scenario.make_world()
# create multiagent environment
if benchmark:
env = MultiAgentEnv(world, scenario.reset_world, scenario.reward, scenario.observation, arglist, scenario.benchmark_data)
if benchmark:
env = MultiAgentEnv(world, scenario.reset_world, scenario.reward, scenario.observation, scenario.benchmark_data)
else:
env = MultiAgentEnv(world, scenario.reset_world, scenario.reward, scenario.observation, arglist)
env = MultiAgentEnv(world, scenario.reset_world, scenario.reward, scenario.observation)
return env

0 comments on commit 926a161

Please sign in to comment.