Skip to content

Commit

Permalink
Changed default random_setup variance to be a function of the number …
Browse files Browse the repository at this point in the history
…of agents
  • Loading branch information
zjwilliams20 committed Aug 23, 2022
1 parent 6678b21 commit f2814d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def multi_agent_run(model, x_dims, dt, N, radius, energy=10.0, n_d=2, **kwargs):
n_states,
is_rotation=False,
rel_dist=n_agents,
var=1.0,
var=n_agents/2,
n_d=n_d,
random=True,
energy=energy,
Expand Down

0 comments on commit f2814d3

Please sign in to comment.