Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adamamer20 authored Jan 6, 2024
1 parent 5bf030f commit 64767b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class MyAgent(AgentDF):
def step(cls):
wealthy_agents = cls.model.agents.loc[cls.mask, "wealth"] > 0
if wealthy_agents.any():
#The next line finds the mask of a random sample of agents which ù
is of the same length as wealthy agents
#The next line finds the mask of a random sample of agents which is of the same length as wealthy agents
other_agents = cls.model.agents.index.isin(
cls.model.agents.sample(n=wealthy_agents.sum()).index
)
Expand Down

0 comments on commit 64767b7

Please sign in to comment.