Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
model: Initialize _agents attribute on __new__
This is to avoid the warning: ``` /projectmesa/mesa-examples/examples/boltzmann_wealth_model_experimental/model.py:53: FutureWarning: The Mesa Model class wasn’t initialized. In the future, you need to explicitly initialize the Model by calling super().__init__() on initialization. super().__init__(unique_id, model) ``` So that users won't have to call `super().__init__()` in their model code.
- Loading branch information