Important corner-case bug in SOP computation (recently introduced).

This commit is contained in:
Alan Mishchenko 2015-04-01 15:31:27 +07:00
parent 8de4d919d2
commit 0c47d04c0b
1 changed files with 3 additions and 0 deletions

View File

@ -1276,7 +1276,10 @@ static DdNode * extraBddCountCubes( DdManager * dd, DdNode * L, DdNode * U, st__
statLine(dd);
if (L == zero)
{
*pnCubes = 0;
return(zero);
}
if (U == one)
{
*pnCubes = 1;