Skip to content

Commit

Permalink
even more style
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfhm committed Oct 19, 2023
1 parent 674a6f5 commit c2ec915
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions loki/transform/transform_scalar_syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,7 @@ def simplify_sum(expr):
if len(new_children) > 1:
return Sum(as_tuple(new_children))
return new_children[0]

else:
return IntLiteral(n)

return IntLiteral(n)
return expr


Expand Down

0 comments on commit c2ec915

Please sign in to comment.