Skip to content

Commit 74457af

Browse files
committed
bdd -> exprt: fix copy&paste error to avoid a && TRUE
1 parent a995cc2 commit 74457af

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
@@ -155,7 +155,7 @@ exprt bdd_exprt::as_expr(const bdd_exprt::BDDt &r) const
155155
}
156156
else if(r.high().is_false())
157157
{
158-
if(r.high().is_true())
158+
if(r.low().is_true())
159159
return not_exprt(n_expr);
160160
else
161161
return and_exprt(not_exprt(n_expr), as_expr(r.low()));

0 commit comments

Comments
 (0)