Commit a24e678a by Alan Mishchenko

Bug fixes in CUDD 2.4.2.

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