mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
fix #4920
This commit is contained in:
parent
1a71dfac6f
commit
223bffd035
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue