Skip to content

Commit

Permalink
Rename variable in collect_terms.py for readability
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel Blatt <[email protected]>
  • Loading branch information
rihi and blattm authored Sep 20, 2023
1 parent 36215f0 commit 8ddd6a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def apply(self, operation: Operation) -> list[tuple[Expression, Expression]]:
identity_constant = _identity_constant(operation.operation, operation.type)
return [
(first, folded_constant),
*((o, identity_constant) for o in rest)
*((constant, identity_constant) for constant in rest)
]


Expand Down

0 comments on commit 8ddd6a1

Please sign in to comment.