Skip to content

Commit

Permalink
Update examples/boltzmann_wealth_model/boltzmann_wealth_model/model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ewout ter Hoeven <[email protected]>
  • Loading branch information
quaquel and EwoutH authored Sep 5, 2024
1 parent 98283c7 commit 87dd6d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, N=100, width=10, height=10):
model_reporters={"Gini": compute_gini}, agent_reporters={"Wealth": "wealth"}
)
# Create agents
for i in range(self.num_agents):
for _ in range(self.num_agents):
a = MoneyAgent(self)

# Add the agent to a random grid cell
Expand Down

0 comments on commit 87dd6d0

Please sign in to comment.