Commit 0c47d04c by Alan Mishchenko

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

parent 8de4d919
...@@ -1276,7 +1276,10 @@ static DdNode * extraBddCountCubes( DdManager * dd, DdNode * L, DdNode * U, st__ ...@@ -1276,7 +1276,10 @@ static DdNode * extraBddCountCubes( DdManager * dd, DdNode * L, DdNode * U, st__
statLine(dd); statLine(dd);
if (L == zero) if (L == zero)
{
*pnCubes = 0;
return(zero); return(zero);
}
if (U == one) if (U == one)
{ {
*pnCubes = 1; *pnCubes = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment