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

Halide's coerce-to-bool logic appears to be inconsistent #6820

Open
steven-johnson opened this issue Jun 27, 2022 · 1 comment
Open

Halide's coerce-to-bool logic appears to be inconsistent #6820

steven-johnson opened this issue Jun 27, 2022 · 1 comment
Labels
documentation Missing, incorrect, or unclear. Spelling & grammar mistakes.

Comments

@steven-johnson
Copy link
Contributor

See #6813; at a minimum, we can detect likely-unwanted-cast-to-bool for integer types, but not float types.

@abadams
Copy link
Member

abadams commented Oct 11, 2023

Not really a correctness bug, more of an need for better documentation of pow.

@abadams abadams added documentation Missing, incorrect, or unclear. Spelling & grammar mistakes. and removed bug labels Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Missing, incorrect, or unclear. Spelling & grammar mistakes.
Projects
None yet
Development

No branches or pull requests

2 participants