From 7285f1051ee21f6c280cc3f67b86184a62bdfb38 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 28 Mar 2017 23:28:04 -0700 Subject: Experiments with multipliers. --- src/proof/acec/acec2Mult.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/proof') 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 ); -- cgit v1.2.3