We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Shouldnt the out of bounds check be inclusive of the maximum indices?
So
if x0 >= 0 and y0 >= 0 and z0 >= 0 and x1 <= X and y1 <= Y and z1 <= Z:
instead of
if x0 >= 0 and y0 >= 0 and z0 >= 0 and x1 < X and y1 < Y and z1 < Z
?
The text was updated successfully, but these errors were encountered:
No.
In an array with N elements they are indexed from 0 to N-1.
So it is correct to have boundary >=0 and <N
Sorry, something went wrong.
No branches or pull requests
Shouldnt the out of bounds check be inclusive of the maximum indices?
So
instead of
?
The text was updated successfully, but these errors were encountered: