From c7b1059a69ad9b8a4a07643ffd004406bd6a3d62 Mon Sep 17 00:00:00 2001 From: Jan Kwakkel Date: Tue, 5 Nov 2024 14:50:36 +0100 Subject: [PATCH] Update MoneyModel.py --- docs/tutorials/MoneyModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/MoneyModel.py b/docs/tutorials/MoneyModel.py index 4d6dc02d59d..b25f4ffb9ac 100644 --- a/docs/tutorials/MoneyModel.py +++ b/docs/tutorials/MoneyModel.py @@ -49,7 +49,7 @@ def step(self): class MoneyModel(mesa.Model): """A model with some number of agents.""" - def __init__(self, n, width, height, seed=None): + def __init__(self, n=10, width=10, height=10, seed=None): """Initialize a MoneyModel instance. Args: