From 1dd80e1cfac3dbe9ba39af7d0efc1830475a9213 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 17 May 2013 08:38:46 -0700 Subject: Bug fix in the timeout mechanism of 'pdr'. --- src/proof/pdr/pdrCnf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/proof/pdr/pdrCnf.c b/src/proof/pdr/pdrCnf.c index 0b636a77..298b9a91 100644 --- a/src/proof/pdr/pdrCnf.c +++ b/src/proof/pdr/pdrCnf.c @@ -280,7 +280,7 @@ static inline sat_solver * Pdr_ManNewSolver1( sat_solver * pSat, Pdr_Man_t * p, Vec_IntWriteEntry( p->vVar2Reg, Pdr_ObjSatVar(p, k, pObj), i ); } pSat = (sat_solver *)Cnf_DataWriteIntoSolverInt( pSat, p->pCnf1, 1, fInit ); - sat_solver_set_runtime_limit( pSat, (int)p->timeToStop ); + sat_solver_set_runtime_limit( pSat, p->timeToStop ); return pSat; } @@ -325,7 +325,7 @@ static inline sat_solver * Pdr_ManNewSolver2( sat_solver * pSat, Pdr_Man_t * p, // start the SAT solver // pSat = sat_solver_new(); sat_solver_setnvars( pSat, 500 ); - sat_solver_set_runtime_limit( pSat, (int)p->timeToStop ); + sat_solver_set_runtime_limit( pSat, p->timeToStop ); return pSat; } -- cgit v1.2.3