diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-12-06 07:32:17 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-12-06 07:32:17 -0800 |
commit | a24e678a79d5af5d99294e5014caa265f8ba92de (patch) | |
tree | 4767e3f18942f5790bb8cc32da032a97b581fc16 /src/bdd | |
parent | b743298cd5064a2365a19980f0e385ef5101e103 (diff) | |
download | abc-a24e678a79d5af5d99294e5014caa265f8ba92de.tar.gz abc-a24e678a79d5af5d99294e5014caa265f8ba92de.tar.bz2 abc-a24e678a79d5af5d99294e5014caa265f8ba92de.zip |
Bug fixes in CUDD 2.4.2.
Diffstat (limited to 'src/bdd')
-rw-r--r-- | src/bdd/cudd/cuddBddAbs.c | 6 | ||||
-rw-r--r-- | src/bdd/cudd/cuddInteract.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/bdd/cudd/cuddBddAbs.c b/src/bdd/cudd/cuddBddAbs.c index a3892af1..257dbbe3 100644 --- a/src/bdd/cudd/cuddBddAbs.c +++ b/src/bdd/cudd/cuddBddAbs.c @@ -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); diff --git a/src/bdd/cudd/cuddInteract.c b/src/bdd/cudd/cuddInteract.c index 1d335c2a..55673217 100644 --- a/src/bdd/cudd/cuddInteract.c +++ b/src/bdd/cudd/cuddInteract.c @@ -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; } |