-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
neighbours array in game of life example (Uniform Vectorization) #98
Comments
Thansk. Did you try with non-equal size arrays to check if it is actually wrong? (I don't remember the exact layout I used) |
Yes I did. You defined the shape of Z as
so you want |
I see, thanks. Can you make a PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the
compute_neighbours()
function, I think you meant to doN = [[0,]*(shape[1]) for i in range(shape[0])]
instead of
N = [[0,]*(shape[0]) for i in range(shape[1])]
The text was updated successfully, but these errors were encountered: