diff --git a/mesa/examples/advanced/pd_grid/model.py b/mesa/examples/advanced/pd_grid/model.py index 864b1299cbd..6350d8c86ba 100644 --- a/mesa/examples/advanced/pd_grid/model.py +++ b/mesa/examples/advanced/pd_grid/model.py @@ -32,7 +32,9 @@ def __init__( if payoffs is not None: self.payoff = payoffs - PDAgent.create_agents(self, len(self.grid.all_cells.cells), cell=self.grid.all_cells.cells) + PDAgent.create_agents( + self, len(self.grid.all_cells.cells), cell=self.grid.all_cells.cells + ) self.datacollector = mesa.DataCollector( {