mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
build errors
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a18d2a606b
commit
f4966795f9
2 changed files with 3 additions and 1 deletions
|
@ -300,7 +300,7 @@ namespace sat {
|
|||
lit = lit.sign() ? ~to_root[lit.var()] : to_root[lit.var()];
|
||||
}
|
||||
}
|
||||
if (changed) {
|
||||
if (changed && (n.is_and() || n.is_xor())) {
|
||||
std::sort(m_literals.c_ptr() + n.offset(), m_literals.c_ptr() + n.offset() + n.num_children());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue