Skip to content

Commit 7ea6c41

Browse files
author
Daniel Kroening
committed
fixup for cond_exprt number of operands
1 parent 8163047 commit 7ea6c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/std_expr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4949,7 +4949,7 @@ inline const cond_exprt &to_cond_expr(const exprt &expr)
49494949
{
49504950
PRECONDITION(expr.id() == ID_cond);
49514951
DATA_INVARIANT(
4952-
expr.operands().size() % 2 != 0, "cond must have even number of operands");
4952+
expr.operands().size() % 2 == 0, "cond must have even number of operands");
49534953
return static_cast<const cond_exprt &>(expr);
49544954
}
49554955

0 commit comments

Comments
 (0)