MultiGrid cell object: set or list? #1014
Unanswered
peteretchn
asked this question in
Q&A
Replies: 1 comment
-
Good catch. It used to be a set, but it was changed to a List to enable reproducible behaviour (set order is unpredictable in Python) Documentation and type hint should be updated |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The mesa space.py script contains the following for MultiGrid:
the cell object default value is an empty list [], but is documented and type-hinted as a set. Which should it be?
around line 523:
Beta Was this translation helpful? Give feedback.
All reactions