Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Jan 9, 2024
1 parent 10c5648 commit b5e1190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtlrepair/templates/conditional_overwrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def collect_condition_atoms(conditions: list) -> list:

def destruct_to_atom(expr: list) -> set:
""" conjunction and negation is already part of our template, thus we want to exclude it from our atoms """
if isinstance(expr, vast.UnaryOperator):
if isinstance(expr, vast.Unot) or isinstance(expr, vast.Ulnot):
return destruct_to_atom(expr.right)
elif isinstance(expr, vast.Land):
return destruct_to_atom(expr.left) | destruct_to_atom(expr.right)
Expand Down

0 comments on commit b5e1190

Please sign in to comment.