mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
build errors
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a18d2a606b
commit
f4966795f9
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
#pragma once
|
||||
#include "util/region.h"
|
||||
#include "util/debug.h"
|
||||
#include <algorithm>
|
||||
|
||||
namespace sat {
|
||||
|
||||
|
|
Loading…
Reference in a new issue