Skip to content

Commit

Permalink
Fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Jul 13, 2024
1 parent 5f27b32 commit 2dbf2eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/intree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ bool InTree::intree_probe() {
}
solver->use_depth_trick = true;
solver->perform_transitive_reduction = true;
return true;
return solver->okay();
}

double my_time = cpuTime();
Expand Down
1 change: 1 addition & 0 deletions src/searcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2418,6 +2418,7 @@ bool Searcher::intree_if_needed()
sumConflicts > next_intree
) {
if (ret) ret &= solver->intree->intree_probe();
if (ret) rebuildOrderHeap(); // Needed because intree may have replaced variables
next_intree = sumConflicts + 65000.0*conf.global_next_multiplier;
}

Expand Down

0 comments on commit 2dbf2eb

Please sign in to comment.