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

Fix for #1308 #1313

Merged
merged 3 commits into from Jul 12, 2023
Merged

Fix for #1308 #1313

merged 3 commits into from Jul 12, 2023

Conversation

alexnick83
Copy link
Contributor

Fixes the case where the result of visiting a condition's/while's test is a list/tuple of size 1 and isn't unpacked correctly. It also adds a special case when converting data to bool because we do not/cannot define dace::bool.

@alexnick83 alexnick83 requested a review from tbennun July 12, 2023 16:29
@alexnick83 alexnick83 linked an issue Jul 12, 2023 that may be closed by this pull request
@tbennun tbennun enabled auto-merge July 12, 2023 17:27
@tbennun tbennun merged commit 221f980 into master Jul 12, 2023
9 checks passed
@tbennun tbennun deleted the fix-condition-test-list branch July 17, 2023 06:52
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.

bool() causes an internal AttributeError when parsing dace.program
2 participants