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

Slightly improve error message for non-integer RDom min/extent #7151

Merged
merged 2 commits into from
Nov 16, 2022

Conversation

abadams
Copy link
Member

@abadams abadams commented Nov 7, 2022

Fixes #6948

Before:

Extent cannot be losslessly cast to an int32: 3.400000f

After:

RDom extent cannot be represented as an int32: 3.400000f

@steven-johnson
Copy link
Contributor

Ready to land?

@abadams abadams merged commit be055a8 into main Nov 16, 2022
@abadams abadams deleted the abadams/fix_6948 branch November 16, 2022 01:02
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
…e#7151)

Improve error message for non-integer RDom min/extent

Co-authored-by: Steven Johnson <srj@google.com>
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.

Error message when you use something other than an int32 for an RDom extent is bad
2 participants