Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Sep 24, 2024
1 parent 40c2887 commit 83e2b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/venom/passes/algebraic_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def _handle_offsets(self):
# check if the instruction is of the form
# `add <ptr> <label>`
# this works only if store chains have been eliminated.
if not inst.opcode == "add":
if inst.opcode != "add":
continue
ops = inst.operands
if isinstance(ops[0], IRLabel):
Expand Down

0 comments on commit 83e2b31

Please sign in to comment.