3
0
Fork 0
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:
Nikolaj Bjorner 2017-03-02 11:23:06 -08:00
parent 40df1949f5
commit c6f943e4d6
4 changed files with 39 additions and 21 deletions

View file

@ -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);