From 2d90025485e66369830a697e73b301d561513e64 Mon Sep 17 00:00:00 2001 From: Jan Kwakkel Date: Wed, 25 Sep 2024 18:51:20 +0200 Subject: [PATCH] Update boltzmann_wealth.py --- benchmarks/BoltzmannWealth/boltzmann_wealth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/BoltzmannWealth/boltzmann_wealth.py b/benchmarks/BoltzmannWealth/boltzmann_wealth.py index 54dee4c9fec..054037bf976 100644 --- a/benchmarks/BoltzmannWealth/boltzmann_wealth.py +++ b/benchmarks/BoltzmannWealth/boltzmann_wealth.py @@ -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)