Skip to content

Commit

Permalink
fix #4868
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Dec 7, 2020
1 parent 6c9bdc9 commit 982da8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sat/sat_probing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ namespace sat {
unsigned sz = s.get_wlist(~l).size();
for (unsigned i = 0; i < sz; ++i) {
watch_list& wlist = s.get_wlist(~l);
watched & w = wlist[i];
sz = wlist.size();
watched & w = wlist[i];
if (!w.is_binary_clause())
continue;
literal l2 = w.get_literal();
Expand All @@ -185,6 +184,7 @@ namespace sat {
return;
if (s.inconsistent())
return;
sz = wlist.size();
}
}
}
Expand Down

0 comments on commit 982da8d

Please sign in to comment.