mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 10:14:42 +00:00
updates
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
127bae85bd
commit
49d7fd4f9c
4 changed files with 174 additions and 85 deletions
|
@ -1985,6 +1985,15 @@ namespace smt {
|
|||
m_watches[(~cls->get_literal(idx)).index()].remove_clause(cls);
|
||||
}
|
||||
|
||||
/**
|
||||
\brief Remove boolean variable from watch lists.
|
||||
*/
|
||||
void context::remove_watch(bool_var v) {
|
||||
literal lit(v);
|
||||
m_watches[lit.index()].reset();
|
||||
m_watches[(~lit).index()].reset();
|
||||
}
|
||||
|
||||
/**
|
||||
\brief Update the index used for backward subsumption.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue