Commit a24e678a by Alan Mishchenko

Bug fixes in CUDD 2.4.2.

parent b743298c
......@@ -434,8 +434,10 @@ cuddBddExistAbstractRecur(
Cudd_IterDerefBdd(manager, res2);
return(NULL);
}
cuddDeref(res1);
cuddDeref(res2);
cuddRef(res); //Added
Cudd_IterDerefBdd(manager, res1); //cuddDeref(res1);
Cudd_IterDerefBdd(manager, res2); //cuddDeref(res2);
cuddDeref(res); //Added
if (F->ref != 1)
cuddCacheInsert2(manager, Cudd_bddExistAbstract, f, cube, res);
return(res);
......
......@@ -193,10 +193,10 @@ cuddTestInteract(
int x,
int y)
{
int posn, word, bit, result;
long posn, word, bit, result;
if (x > y) {
int tmp = x;
long tmp = x;
x = y;
y = tmp;
}
......
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