Commit 3ec6cfef authored by drallensmith's avatar drallensmith

Merge branch 'randomization' into add_preprocess_action - bugfix; avoid rebase

parents 36fb8fc4 26d012e1
......@@ -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