Mar 9, 2021
Hi,
If you are using the same script as my tutorial, SchellingAgent only has the following attributes:
- pos
- type
The error simply means that the SchellingAgent object has no attribute called types.
Either
1) it is a typo in the code to access `type` instead of `types`, or
2) you have not define the types attribute in your SchellingAgent class.
Do let me know if this is not the case. Thanks