Skip to content

Commit 145ab5f

Browse files
committed
ASTI: guard variable access
1 parent 1490b3a commit 145ab5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chb/astinterface/ASTInterfaceFunction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def set_return_sequences(self) -> None:
405405
else:
406406
originalLR = False
407407
for inv in instr.invariants:
408-
if str(inv.variable) == "LR" and inv.is_initial_var_equality:
408+
if inv.is_initial_var_equality and str(inv.variable) == "LR":
409409
originalLR = True
410410
break
411411

0 commit comments

Comments
 (0)