[buddy] fix handling of bdd_apply_biimp

* src/bddop.c: Fix shortcut.
This commit is contained in:
Alexandre Duret-Lutz 2017-06-20 15:17:28 +02:00
parent 85e4cf510c
commit 819cd7b8b6

View file

@ -656,8 +656,8 @@ static BDD apply_rec(BDD l, BDD r)
l = r; \ l = r; \
r = tmp; \ r = tmp; \
} \ } \
if (ISCONST(l)) \ if (ISONE(l)) \
return 0; \ return rec(r); \
break; \ break; \
case bddop_less: /* l < r = r - l */ \ case bddop_less: /* l < r = r - l */ \
{ \ { \