mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
pfor
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9262908ebb
commit
59330b3855
5 changed files with 23 additions and 15 deletions
|
@ -104,7 +104,7 @@ namespace sat {
|
|||
m_solvers.resize(num_extra_solvers);
|
||||
symbol saved_phase = s.m_params.get_sym("phase", symbol("caching"));
|
||||
for (unsigned i = 0; i < num_extra_solvers; ++i) {
|
||||
m_limits.push_back(reslimit());
|
||||
m_limits.push_back(alloc(reslimit));
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < num_extra_solvers; ++i) {
|
||||
|
@ -112,7 +112,7 @@ namespace sat {
|
|||
if (i == 1 + num_threads/2) {
|
||||
s.m_params.set_sym("phase", symbol("random"));
|
||||
}
|
||||
m_solvers[i] = alloc(sat::solver, s.m_params, m_limits[i]);
|
||||
m_solvers[i] = alloc(sat::solver, s.m_params, *m_limits[i]);
|
||||
m_solvers[i]->copy(s, true);
|
||||
m_solvers[i]->set_par(this, i);
|
||||
push_child(m_solvers[i]->rlimit());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue