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

Python Bindings: fix Python bool -> Expr implicit conversion #6657

Merged
merged 5 commits into from
Mar 29, 2022

Conversation

steven-johnson
Copy link
Contributor

@steven-johnson steven-johnson commented Mar 25, 2022

It was implicitly converting to a Halide Int(32) literal of value 1, but we want it to match Halide's boolean type of UInt(1)

It was implicitly converting to a Halide `Int(32)` literal of value 1, but we want it to match Halide's boolean type of `UInt(1)`
@steven-johnson steven-johnson changed the title Srj/py bool Python Bindings: fix Python bool -> Expr implicit conversion Mar 25, 2022
@steven-johnson steven-johnson merged commit c2bebe2 into main Mar 29, 2022
@steven-johnson steven-johnson deleted the srj/py-bool branch March 29, 2022 00:10
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