3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-01-09 02:02:50 -08:00
parent 1a71dfac6f
commit 223bffd035

View file

@ -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);