summaryrefslogtreecommitdiffstats
path: root/src/proof
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-05-17 08:38:46 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-05-17 08:38:46 -0700
commit1dd80e1cfac3dbe9ba39af7d0efc1830475a9213 (patch)
tree3cc5699b6429178af448373f538551a766b1cf18 /src/proof
parent7be3e3e6b48ca34f0cfa841c59e2a569afe89bd8 (diff)
downloadabc-1dd80e1cfac3dbe9ba39af7d0efc1830475a9213.tar.gz
abc-1dd80e1cfac3dbe9ba39af7d0efc1830475a9213.tar.bz2
abc-1dd80e1cfac3dbe9ba39af7d0efc1830475a9213.zip
Bug fix in the timeout mechanism of 'pdr'.
Diffstat (limited to 'src/proof')
-rw-r--r--src/proof/pdr/pdrCnf.c4
1 files changed, 2 insertions, 2 deletions
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;
}