mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
Propagated rlimit changes to sat::solver into sat_user_scope tests
This commit is contained in:
parent
1f9d5249a3
commit
0cf18ab18e
|
@ -58,7 +58,8 @@ static void init_vars(sat::solver& s) {
|
|||
|
||||
static void check_coherence(sat::solver& s1, trail_t& t) {
|
||||
params_ref p;
|
||||
sat::solver s2(p, 0);
|
||||
reslimit rlim;
|
||||
sat::solver s2(p, rlim, 0);
|
||||
init_vars(s2);
|
||||
sat::literal_vector cls;
|
||||
for (unsigned i = 0; i < t.size(); ++i) {
|
||||
|
@ -83,7 +84,8 @@ void tst_sat_user_scope() {
|
|||
random_gen r(0);
|
||||
trail_t trail;
|
||||
params_ref p;
|
||||
sat::solver s(p, 0); // incremental solver
|
||||
reslimit rlim;
|
||||
sat::solver s(p, rlim, 0); // incremental solver
|
||||
init_vars(s);
|
||||
while (true) {
|
||||
for (unsigned i = 0; i < s_num_frames; ++i) {
|
||||
|
|
Loading…
Reference in a new issue