Skip to content

Commit

Permalink
follow casing rules
Browse files Browse the repository at this point in the history
  • Loading branch information
luerhard committed Mar 13, 2024
1 parent 72cb0d5 commit 627605a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_affiliation_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def count_agents(self):

class Model(popy.Model):
def setup(self):
N_AGENTS = 1000
self.agents = popy.AgentList(self, N_AGENTS, Agent)
self.locations = popy.LocationList(self, N_AGENTS, Location)
n_agents = 1000
self.agents = popy.AgentList(self, n_agents, Agent)
self.locations = popy.LocationList(self, n_agents, Location)

for i, location in enumerate(self.locations):
location.add_agent(self.agents[i])
Expand Down

0 comments on commit 627605a

Please sign in to comment.