Skip to content

Commit

Permalink
Merge pull request #39 from Flash-LHR/master
Browse files Browse the repository at this point in the history
fix: threadNum for cryptominisat5
  • Loading branch information
msoos authored Feb 15, 2023
2 parents 28135e9 + fd9ccd9 commit 6db07f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ Solution extend_solution(
void solve(Bosph::Bosphorus* mylib, CNF* cnf, ANF* anf) {
vector<Clause> cls = mylib-> get_clauses(cnf);
CMSat::SATSolver solver;
solver.set_num_threads(config.numThreads);
solver.new_vars(mylib->get_max_var(cnf));
for(const Bosph::Clause& c: cls) {
const Bosph::Clause* cc = &c;
Expand Down

0 comments on commit 6db07f2

Please sign in to comment.