diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2020-11-15 00:55:43 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2020-11-15 00:55:43 -0800 |
commit | 28ea3adedb507ff3766135d27faade20ca1483aa (patch) | |
tree | ed92d6a518c3d7064cbffa788e62263826b4cf0f /src/proof/cec | |
parent | 36e8567e778cdc4f0b2e3009b20083703e2b4f87 (diff) | |
download | abc-28ea3adedb507ff3766135d27faade20ca1483aa.tar.gz abc-28ea3adedb507ff3766135d27faade20ca1483aa.tar.bz2 abc-28ea3adedb507ff3766135d27faade20ca1483aa.zip |
Improvements to the SAT sweeper (bug fix).
Diffstat (limited to 'src/proof/cec')
-rw-r--r-- | src/proof/cec/cecSatG2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proof/cec/cecSatG2.c b/src/proof/cec/cecSatG2.c index ffb000ed..f400de0a 100644 --- a/src/proof/cec/cecSatG2.c +++ b/src/proof/cec/cecSatG2.c @@ -1273,7 +1273,7 @@ void Cec4_ManSatSolverRecycle( Cec4_Man_t * p ) int Cec4_ManSolveTwo( Cec4_Man_t * p, int iObj0, int iObj1, int fPhase, int * pfEasy, int fVerbose ) { abctime clk; - int nBTLimit = Vec_BitEntry(p->vFails, iObj0) || Vec_BitEntry(p->vFails, iObj1) ? p->pPars->nBTLimit/10 : p->pPars->nBTLimit; + int nBTLimit = Vec_BitEntry(p->vFails, iObj0) || Vec_BitEntry(p->vFails, iObj1) ? Abc_MaxInt(1, p->pPars->nBTLimit/10) : p->pPars->nBTLimit; int nConfEnd, nConfBeg, status, iVar0, iVar1, Lits[2]; int UnsatConflicts[3] = {0}; if ( iObj1 < iObj0 ) |