Skip to content

Commit 4b2774b

Browse files
committed
bdd -> exprt: fix copy&paste error to avoid a && TRUE
1 parent a3b5808 commit 4b2774b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/prop/bdd_expr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ exprt bdd_exprt::as_expr(const mini_bddt &r) const
122122
}
123123
else if(r.high().is_false())
124124
{
125-
if(r.high().is_true())
125+
if(r.low().is_true())
126126
return not_exprt(n_expr);
127127
else
128128
return and_exprt(not_exprt(n_expr), as_expr(r.low()));

0 commit comments

Comments
 (0)