JordanBoulous / 41189-assignment-template

A Jupyter Notebook template for 41189 modelling assignments
0 stars 2 forks source link

Agent Based Model Code Issue #7

Open JordanBoulous opened 3 years ago

JordanBoulous commented 3 years ago

@juancastilla

Errors arising with the code for the Agent Based Model

juancastilla commented 3 years ago

You have to indent the two 'def step()' methods in your code, under the class. I tried to push the fix to your repo but it seems I don't have privileges to do so. I just tried the fix in my machine and the ABM model works 👍 @JordanBoulous

juancastilla commented 3 years ago

this is how it should be:

image

image

juancastilla commented 3 years ago

I believe the above fix can close this issue

JordanBoulous commented 3 years ago

Thank you Juan. Sorry I thought I had added you as a collaborator but it turns out I didn't. However, I sent an invite now. Thanks again. I'll make the changes now

juancastilla commented 3 years ago

it's an easy fix, let me know how you go