Adding bound-check function for a better error message #163
amitsingh19975
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A bound-checking function takes extents with indices, and then it checks the bound for each dimension that gives more accurate information about the out-of-bound access. The main problem with the current bound-check is that it has no information about dimensions. Therefore, the error you get is not helpful as you don't know which dimension is violated.
Beta Was this translation helpful? Give feedback.
All reactions