Commit 7aaa54f4 authored by Hidetomo Nabeshima's avatar Hidetomo Nabeshima

Merge branch 'cnf' into 'master'

fix for issue #5

See merge request !3
parents b259780d 96ec1e39
......@@ -1845,7 +1845,7 @@ void Solver::toDimacs(FILE* f, const vec<Lit>& assumps)
cnt += trail.size();
fprintf(f, "p cnf %d %d\n", max, cnt);
fprintf(f, "p cnf %d %d\n", max+1, cnt);
for (int i = 0; i < assumptions.size(); i++){
assert(value(assumptions[i]) != l_False);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment