mirror of
https://github.com/Z3Prover/z3
synced 2025-05-13 10:44:43 +00:00
initialize watch in assign_eh
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
aaf6e67ec8
commit
8dde60f634
2 changed files with 1 additions and 3 deletions
|
@ -772,6 +772,7 @@ namespace smt {
|
|||
void theory_pb::assign_eh(bool_var v, bool is_true) {
|
||||
ptr_vector<ineq>* ineqs = 0;
|
||||
literal nlit(v, is_true);
|
||||
init_watch(v);
|
||||
TRACE("pb", tout << "assign: " << ~nlit << "\n";);
|
||||
ineqs = m_var_infos[v].m_lit_watch[nlit.sign()];
|
||||
if (ineqs != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue