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

Symbol redeclaration fix #1788

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Symbol redeclaration fix #1788

wants to merge 10 commits into from

Conversation

ThrudPrimrose
Copy link
Collaborator

@ThrudPrimrose ThrudPrimrose commented Nov 21, 2024

If a symbol is passed as an argument to the SDFG and assigned on an interstate edge, the framecode declares the scalar symbol again. This PR fixes that issue.

The case: If there is an interstate assignment on a variable, N=5, but if 'Nis also an input argument to the SDFG, then the generated code does not compile becauseN` is redeclared.

@ThrudPrimrose ThrudPrimrose force-pushed the symbol_redeclaration_fix branch from 78801b6 to 26bd8ba Compare December 2, 2024 21:33
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.

1 participant