Commit c49f3583 by Alan Mishchenko

Compiler problems.

parent 5bd9edb5
...@@ -839,8 +839,8 @@ void Solver::toDimacs(FILE* f, const vec<Lit>& assumps) ...@@ -839,8 +839,8 @@ void Solver::toDimacs(FILE* f, const vec<Lit>& assumps)
// Cannot use removeClauses here because it is not safe // Cannot use removeClauses here because it is not safe
// to deallocate them at this point. Could be improved. // to deallocate them at this point. Could be improved.
int cnt = 0; int i, cnt = 0;
for (int i = 0; i < clauses.size(); i++) for (i = 0; i < clauses.size(); i++)
if (!satisfied(ca[clauses[i]])) if (!satisfied(ca[clauses[i]]))
cnt++; cnt++;
...@@ -890,7 +890,8 @@ void Solver::relocAll(ClauseAllocator& to) ...@@ -890,7 +890,8 @@ void Solver::relocAll(ClauseAllocator& to)
// All reasons: // All reasons:
// //
for (int i = 0; i < trail.size(); i++){ int i;
for (i = 0; i < trail.size(); i++){
Var v = var(trail[i]); Var v = var(trail[i]);
if (reason(v) != CRef_Undef && (ca[reason(v)].reloced() || locked(ca[reason(v)]))) if (reason(v) != CRef_Undef && (ca[reason(v)].reloced() || locked(ca[reason(v)])))
......
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