mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fix mutex finding for smt-core: it was returning mutexes for negations of literals
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
881e82e3fa
commit
9cd7b9b4f6
2 changed files with 15 additions and 8 deletions
|
@ -373,7 +373,7 @@ namespace smt {
|
|||
expr* n = vars[i];
|
||||
bool neg = m_manager.is_not(n, n);
|
||||
if (b_internalized(n)) {
|
||||
lits.insert(literal(get_bool_var(n), !neg).index());
|
||||
lits.insert(literal(get_bool_var(n), neg).index());
|
||||
}
|
||||
}
|
||||
while (!lits.empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue