[buddy] Fix is_cube() and add tests
* src/bddop.c: Fix is_cube with bddtrue as input * src/bddtest.cxx: Add tests here
This commit is contained in:
parent
ece7631e8c
commit
c5a61da22b
2 changed files with 39 additions and 2 deletions
|
|
@ -3814,8 +3814,6 @@ int bdd_is_cube(BDD b)
|
|||
{
|
||||
if (ISZERO(b))
|
||||
return 0;
|
||||
if (ISONE(b))
|
||||
return 0;
|
||||
|
||||
while (!ISONE(b))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue