Skip to content

Commit 2c05149

Browse files
authored
gis: Fix another unique_id case (#206)
1 parent 642697e commit 2c05149

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gis/geo_sir/model.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ def __init__(
7979
spread_y = int(this_bounds[3] - this_bounds[1])
8080
this_x = center_x[0] + self.random.randint(0, spread_x) - spread_x / 2
8181
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-
)
82+
this_person = ac_population.create_agent(Point(this_x, this_y))
8583
self.space.add_agents(this_person)
8684
self.schedule.add(this_person)
8785

0 commit comments

Comments
 (0)