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
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions