Open mahagadorn opened 7 years ago
Your error message means that you are trying to replace something with something that isn't of the same length as its replacement.
Take a look at the value of the thing you are trying to store (survive(plants[i, j, k], info)
) and comparing it with the thing you're trying to store it into (plants[i, j, k]
). I think if you look at the return statement on your function it will make more sense.
Hi Will,
I am stuck, like stuck stuck. I have be wracking my brain about this all morning. I am tinkering here and there and it doesn't seem to work. I can't make sense of how to fix my error message.
It seems like my survive function is working. I have it printing i,j,k values and it looking like it recognizes those. When I put in a specific row,col,depth into the just the survive function it's doing what it should be doing. My issue is in the run.ecosystem function. I have it seeding just fine (not within the function, when just running this separate), however, I keep getting the error message
I am sorry, I am attempting to do this without your assistance, but like I said I am STUCK. My code is below, any help would be greatly appreciated!