Skip to content

Commit

Permalink
fix #4920
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Jan 9, 2021
1 parent 1a71dfa commit 223bffd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/smt/theory_pb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,8 @@ namespace smt {
}

void theory_pb::unwatch_literal(literal lit, ineq* c) {
if (static_cast<unsigned>(lit.var()) >= m_var_infos.size())
return;
ptr_vector<ineq>* ineqs = m_var_infos[lit.var()].m_lit_watch[lit.sign()];
if (ineqs) {
remove(*ineqs, c);
Expand Down

0 comments on commit 223bffd

Please sign in to comment.