Skip to content

Commit

Permalink
Update boltzmann_wealth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Sep 26, 2024
1 parent 5ccf584 commit 2d90025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/BoltzmannWealth/boltzmann_wealth.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self, seed=None, n=100, width=10, height=10): # noqa D103
super().__init__(seed)
self.num_agents = n
self.grid = mesa.space.MultiGrid(width, height, True)
self.datacollector = mesa.DataCollector(model_reporters={"Gini": compute_gini})

# Create agents
for _ in range(self.num_agents):
a = MoneyAgent(self)
Expand Down

0 comments on commit 2d90025

Please sign in to comment.