Skip to content

Commit

Permalink
#1786 Removed partial datatype accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
oakleybrunt committed Dec 19, 2023
1 parent ec6a91a commit bb881e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psyclone/domain/lfric/lfric_builtins.py
Original file line number Diff line number Diff line change
Expand Up @@ -2795,7 +2795,7 @@ def lower_to_language_level(self):

# Create the PSyIR for the kernel:
# proxy0%data(df) = REAL(proxy1%data, kind=r_<prec>)
r_precision = arg_refs[0].datatype.partial_datatype.precision
r_precision = arg_refs[0].datatype.precision
rhs = IntrinsicCall.create(
IntrinsicCall.Intrinsic.REAL,
[arg_refs[1], ("kind", Reference(r_precision))])
Expand Down

0 comments on commit bb881e8

Please sign in to comment.