summaryrefslogtreecommitdiffstats
path: root/src/opt/lpk
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2008-02-08 08:01:00 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2008-02-08 08:01:00 -0800
commitf2d4f6c26eb610cf4843004fc6955a1548aa9f8f (patch)
tree089ca0bde7ecc2bb0acec04aeb28c52ecc18139f /src/opt/lpk
parent5a6924060bffb688101f54711f967305fc3fa480 (diff)
downloadabc-f2d4f6c26eb610cf4843004fc6955a1548aa9f8f.tar.gz
abc-f2d4f6c26eb610cf4843004fc6955a1548aa9f8f.tar.bz2
abc-f2d4f6c26eb610cf4843004fc6955a1548aa9f8f.zip
Version abc80208
Diffstat (limited to 'src/opt/lpk')
-rw-r--r--src/opt/lpk/lpkCore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opt/lpk/lpkCore.c b/src/opt/lpk/lpkCore.c
index e819a7fb..34911c20 100644
--- a/src/opt/lpk/lpkCore.c
+++ b/src/opt/lpk/lpkCore.c
@@ -340,7 +340,7 @@ void Lpk_ComputeSupports( Lpk_Man_t * p, Lpk_Cut_t * pCut, unsigned * pTruth )
pTruthInv = Lpk_CutTruth( p, pCut, 1 );
RetValue1 = Kit_CreateCloudFromTruth( p->pDsdMan->dd, pTruth, pCut->nLeaves, p->vBddDir );
RetValue2 = Kit_CreateCloudFromTruth( p->pDsdMan->dd, pTruthInv, pCut->nLeaves, p->vBddInv );
- if ( RetValue1 && RetValue2 )
+ if ( RetValue1 && RetValue2 && Vec_IntSize(p->vBddDir) > 1 && Vec_IntSize(p->vBddInv) > 1 )
Kit_TruthCofSupports( p->vBddDir, p->vBddInv, pCut->nLeaves, p->vMemory, p->puSupps );
else
p->puSupps[0] = p->puSupps[1] = 0;