Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[next][dace]: use logical and/or/xor operators, not bitwise (#1872)
The current mapping from GTIR logical operators to python code was inconsistent. The mapping was using bitwise operators instead of logical ones. This still resulted in functionally correct code because the boolean type has an integer representation in python language. This PR introduces the correct mapping, and leaves the dace toolchain and target compiler the possibility to generate optimized code.
- Loading branch information