DebasishDhal99 commited on
Commit
c878be0
1 Parent(s): 9787a5c

Update multi_agent_2D.py

Browse files
Files changed (1) hide show
  1. multi_agent_2D.py +1 -0
multi_agent_2D.py CHANGED
@@ -65,6 +65,7 @@ def multi_agent_walk(agent_count, iters, step_size = 1, random_seed = None):
65
  if random_seed is None:
66
  random_seed = random.randint(0,1000000)
67
 
 
68
  assert type(random_seed) == int, "Random seed must be an integer"
69
  #Generate a list of random seeds for each agent
70
  random.seed(random_seed)
 
65
  if random_seed is None:
66
  random_seed = random.randint(0,1000000)
67
 
68
+ random_seed = int(random_seed)
69
  assert type(random_seed) == int, "Random seed must be an integer"
70
  #Generate a list of random seeds for each agent
71
  random.seed(random_seed)