Commit 26d012e1 authored by drallensmith's avatar drallensmith

Bug in high_level_custom_agent.py

parent 63c448e2
......@@ -84,7 +84,7 @@ def main():
'bin/teams/base/config/formations-dt', args.port,
'localhost', 'base_left', False)
if args.seed:
if (args.rand_pass and (numTeammates > 1)) or (args.epsilon > 0):
if (args.rand_pass and (args.numTeammates > 1)) or (args.epsilon > 0):
print("Python randomization seed: {0:d}".format(args.seed))
else:
print("Python randomization seed useless without --rand-pass w/teammates or --epsilon >0")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment