summaryrefslogtreecommitdiffstats
path: root/src/proof
diff options
context:
space:
mode:
authorYen-Sheng Ho <ysho@berkeley.edu>2017-03-31 07:42:06 -0700
committerYen-Sheng Ho <ysho@berkeley.edu>2017-03-31 07:42:06 -0700
commit04bd8631e095eb391cd44370b0c6a3c9c56ce60f (patch)
tree0436ac1539b027c440f9ab3771b7639dd1e2dcdd /src/proof
parent16ef095f9cc4410ce50fbf3ddc5bc6ae360d5766 (diff)
parent96056c377cd0b3cc834f139ef90aaecf9c94d629 (diff)
downloadabc-04bd8631e095eb391cd44370b0c6a3c9c56ce60f.tar.gz
abc-04bd8631e095eb391cd44370b0c6a3c9c56ce60f.tar.bz2
abc-04bd8631e095eb391cd44370b0c6a3c9c56ce60f.zip
merge
Diffstat (limited to 'src/proof')
-rw-r--r--src/proof/acec/acec2Mult.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/proof/acec/acec2Mult.c b/src/proof/acec/acec2Mult.c
index fff6d2ac..f9cbe605 100644
--- a/src/proof/acec/acec2Mult.c
+++ b/src/proof/acec/acec2Mult.c
@@ -880,7 +880,7 @@ int Sdb_StoDiffExactlyOne2( Vec_Int_t * vAll, int * pCut )
}
Vec_Int_t * Sdb_StoFindInputs( Vec_Wec_t * vCuts, int Front )
{
- int fVerbose = 1;
+ int fVerbose = 0;
Vec_Int_t * vCut, * vCounts;
Vec_Int_t * vRes = Vec_IntAlloc( 100 );
Vec_Int_t * vResA = Vec_IntAlloc( 100 );
@@ -906,6 +906,8 @@ Vec_Int_t * Sdb_StoFindInputs( Vec_Wec_t * vCuts, int Front )
Vec_IntForEachEntry( vCounts, Entry, k )
if ( Entry )
MinValue = Abc_MinInt( MinValue, Entry );
+ if ( MinValue == ABC_INFINITY )
+ return vRes;
Min = Vec_IntFind( vCounts, MinValue );
Vec_IntPush( vResA, Min );
Vec_IntWriteEntry( vCounts, Min, 0 );