summaryrefslogtreecommitdiffstats
path: root/src/proof/acec
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-03-28 23:28:04 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2017-03-28 23:28:04 -0700
commit7285f1051ee21f6c280cc3f67b86184a62bdfb38 (patch)
tree48dc22e445090397715d92648f7b59fff2f9de81 /src/proof/acec
parentfdfb8888911220cbd7e6774dda1f90f3c9637fd5 (diff)
downloadabc-7285f1051ee21f6c280cc3f67b86184a62bdfb38.tar.gz
abc-7285f1051ee21f6c280cc3f67b86184a62bdfb38.tar.bz2
abc-7285f1051ee21f6c280cc3f67b86184a62bdfb38.zip
Experiments with multipliers.
Diffstat (limited to 'src/proof/acec')
-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 );