Skip to content

Conversation

@Mittagskogel
Copy link

This PR introduces an internal AST transformation ReplaceArrayAssignment() that gets used by binop2sdfg in the AST_translator class.

The transformation converts array assignment nodes like real :: arr(3) = [3.14, 0.58, 1.41] into sequential scalar assignments. Before this fix, the above expression could cause SDFG validation to fail.

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