Skip to content
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

Add error checking for array dimensions when using interpreter fix #1682 #2012

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

dominicmkennedy
Copy link
Contributor

This code checks for mismatches in the number of dimensions as well as checking that the length of each dimension is the same. If there is a mismatch a helpful error message is printed.

@athas
Copy link
Member

athas commented Aug 28, 2023

Good fix, but CI complains about a minor style issue. You can use tools/style-check.sh to run this locally.

(Don't worry about the CUDA test failure - that's a hardware error on the testing system.)

@dominicmkennedy
Copy link
Contributor Author

oops, my bad. I just made a new commit that fixes the style. Thanks for the feedback

@athas athas merged commit 185a84c into diku-dk:master Aug 28, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants