mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
updates to local search integration
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
40df1949f5
commit
c6f943e4d6
4 changed files with 39 additions and 21 deletions
|
@ -258,7 +258,7 @@ namespace sat {
|
|||
}
|
||||
}
|
||||
|
||||
void parallel::set_phase(local_search& s) {
|
||||
void parallel::get_phase(local_search& s) {
|
||||
#pragma omp critical (par_solver)
|
||||
{
|
||||
for (unsigned i = 0; i < m_phase.size(); ++i) {
|
||||
|
@ -273,7 +273,7 @@ namespace sat {
|
|||
}
|
||||
}
|
||||
|
||||
void parallel::get_phase(local_search& s) {
|
||||
void parallel::set_phase(local_search& s) {
|
||||
#pragma omp critical (par_solver)
|
||||
{
|
||||
m_phase.reserve(s.num_vars(), 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue