mirror of
https://github.com/Z3Prover/z3
synced 2025-10-11 02:08:07 +00:00
enable multiple local search threads
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
cd4a2701db
commit
ac59e7b6d3
4 changed files with 16 additions and 8 deletions
|
@ -863,7 +863,7 @@ namespace sat {
|
|||
int num_local_search = static_cast<int>(m_config.m_local_search);
|
||||
for (int i = 0; i < num_local_search; ++i) {
|
||||
local_search* l = alloc(local_search);
|
||||
l->config().set_seed(m_config.m_random_seed);
|
||||
l->config().set_seed(m_config.m_random_seed + i);
|
||||
l->import(*this, false);
|
||||
ls.push_back(l);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue