Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Nov 12, 2024
1 parent d97371b commit e887fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/venom/passes/dft.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _process_instruction_r(self, instructions: list[IRInstruction], inst: IRInst

def key(x):
cost = 0
if x.output in inst.operands and not inst.is_commutative and not inst.is_flippable:
if x.output in inst.operands and not inst.is_commutative and not inst.is_comparator:
cost = inst.operands.index(x.output)
return cost - len(self.inst_offspring[x]) * 0.5

Expand Down

0 comments on commit e887fd4

Please sign in to comment.