Skip to content

Commit

Permalink
fixed unused district argument on human.run
Browse files Browse the repository at this point in the history
  • Loading branch information
Rez GodarzvandChegini authored and Rez GodarzvandChegini committed Oct 29, 2020
1 parent 9306d3d commit 6693502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/covid19sim/locations/district.py
Expand Up @@ -388,7 +388,7 @@ def new_human(self, human: typing.Union[int,"Human"]):
self.humans.append(human)
try:
# Initiate human processes
yield from human.run(district=self, next_activity=next_activity)
yield from human.run(next_activity=next_activity)
except StopIteration as ret:
next_activity = ret.value
# remove human from human
Expand Down

0 comments on commit 6693502

Please sign in to comment.