We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 642697e commit 2c05149Copy full SHA for 2c05149
gis/geo_sir/model.py
@@ -79,9 +79,7 @@ def __init__(
79
spread_y = int(this_bounds[3] - this_bounds[1])
80
this_x = center_x[0] + self.random.randint(0, spread_x) - spread_x / 2
81
this_y = center_y[0] + self.random.randint(0, spread_y) - spread_y / 2
82
- this_person = ac_population.create_agent(
83
- Point(this_x, this_y), "P" + str(i)
84
- )
+ this_person = ac_population.create_agent(Point(this_x, this_y))
85
self.space.add_agents(this_person)
86
self.schedule.add(this_person)
87
0 commit comments