-
Notifications
You must be signed in to change notification settings - Fork 926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Von Neumann grid hits TypeError
on agents in corners
#1831
Comments
maskarb
added a commit
to maskarb/mesa
that referenced
this issue
Oct 7, 2023
maskarb
added a commit
to maskarb/mesa
that referenced
this issue
Oct 7, 2023
maskarb
added a commit
to maskarb/mesa
that referenced
this issue
Oct 7, 2023
Thank you for the detailed report. |
rht
pushed a commit
that referenced
this issue
Oct 8, 2023
Closed via #1832. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I am recreating the Forest Fire example with Mesa 2, and sometimes I hit the following traceback when the model iterates on an agent in the corner of the grid, specifically with
Von Neumann neighborhood
(when usingMoore neighborhood
, I haven't seen this exception).Expected behavior
I do not expect a traceback when stepping on agents in the corners of the grid.
To Reproduce
I've pushed the code to this repo:
https://github.com/maskarb/opinion-dynamics-leaderboard/pull/33/files
Using this seed:
8002739158563429809
, you hit the error at step 24. In this case, the agent which triggers the traceback is in position(0, 99)
.I just run the server:
And then just start the run (keeping the default density).
Additional context
The text was updated successfully, but these errors were encountered: