Skip to content
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

Виправила баги в SugarscapeCg моделі #221

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Yavoryna
Copy link

Виправила баги, які Ви надсилали;
Бо створила новий репозиторій і все з нуля, тоді вийшло. Якось так.
І також ось це виправила:
for (contents, x, y) in self.grid.coord_iter():
повертає три значення: вміст клітинки, координату x і координату y, коли намагаємося розпакувати лише два.
і також лист створила, як тоді вперше

@EwoutH
Copy link
Member

EwoutH commented Oct 12, 2024

We removed unique_id from the init by design in Mesa 3.0, which is now in beta. See https://mesa.readthedocs.io/latest/migration_guide.html#automatic-assignment-of-unique-id-to-agents.

Install the latest mesa pre-release with pip install --upgrade --pre mesa and checkout the Release notes and updated Mesa overview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants