Skip to content

Commit

Permalink
fixy fixy
Browse files Browse the repository at this point in the history
  • Loading branch information
mcopik authored and phschaad committed Jan 14, 2025
1 parent 6319666 commit f5355cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dace/frontend/fortran/fortran_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1955,7 +1955,7 @@ def subroutine2sdfg(self, node: ast_internal_classes.Subroutine_Subprogram_Node,
if i in write_names:
outs_in_new_sdfg.append(self.name_mapping[new_sdfg][i])

array = sdfg.arrays[self.name_mapping[sdfg][i]]
array_in_global = sdfg.arrays[self.name_mapping[sdfg][i]]
if isinstance(array_in_global, Scalar):
new_sdfg.add_scalar(self.name_mapping[new_sdfg][i], array_in_global.dtype, transient=False)
elif (hasattr(array_in_global, 'type') and array_in_global.type == "Array") or isinstance(
Expand Down

0 comments on commit f5355cf

Please sign in to comment.