From 8075db7a0d5b6983464214b29bafc5fc8db15e66 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 4 Jun 2014 10:48:12 -0700 Subject: Adding CEC command &splitprove. --- src/proof/cec/cecSplit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/proof/cec/cecSplit.c b/src/proof/cec/cecSplit.c index ba4aa453..e8319159 100644 --- a/src/proof/cec/cecSplit.c +++ b/src/proof/cec/cecSplit.c @@ -221,7 +221,6 @@ static inline sat_solver * Cec_GiaDeriveSolver( Gia_Man_t * p, int nTimeOut ) } static inline int Cnf_GiaSolveOne( Gia_Man_t * p, int nTimeOut, int fVerbose, int * pnVars, int * pnConfs ) { - static int Counter = 0; sat_solver * pSat = Cec_GiaDeriveSolver( p, nTimeOut ); int status = sat_solver_solve( pSat, NULL, NULL, (ABC_INT64_T)0, (ABC_INT64_T)0, (ABC_INT64_T)0, (ABC_INT64_T)0 ); *pnVars = sat_solver_nvars( pSat ); @@ -385,7 +384,7 @@ int Cec_GiaSplitTest( Gia_Man_t * p, int nTimeOut, int fVerbose ) } fSatUnsat = (fSatUnsat == Vec_PtrSize(vStack)); if ( fSatUnsat ) - Progress += 1.0 / (Depth + 1); + Progress += 1.0 / pow(2, Depth + 1); if ( fVerbose ) Cec_GiaSplitPrint( nIter, Depth, nSatVars, nSatConfs, fSatUnsat, Progress, Abc_Clock() - clk ); // if ( Vec_PtrSize(vStack) > 2 ) -- cgit v1.2.3