Commit 1dd80e1c by Alan Mishchenko

Bug fix in the timeout mechanism of 'pdr'.

parent 7be3e3e6
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment