Skip to content

Commit 213d38f

Browse files
committed
Cumulative fix-up
Will be squashed.
1 parent 26f7b71 commit 213d38f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/goto_check.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,7 @@ void goto_checkt::check_rec_if(const exprt &expr, guardt &guard)
15561556
const if_exprt &if_expr = to_if_expr(expr);
15571557

15581558
INVARIANT(
1559-
!if_expr.cond().is_boolean(),
1559+
if_expr.cond().is_boolean(),
15601560
"first argument of if must be boolean, but got " + if_expr.cond().pretty());
15611561

15621562
check_rec(if_expr.cond(), guard);

0 commit comments

Comments
 (0)