mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
parent
8a961a5ce9
commit
a6e7ed039c
2 changed files with 8 additions and 5 deletions
|
@ -377,9 +377,11 @@ namespace {
|
||||||
|
|
||||||
for (expr* c : core) {
|
for (expr* c : core) {
|
||||||
expr_ref name(c, m);
|
expr_ref name(c, m);
|
||||||
SASSERT(m_name2assertion.contains(name));
|
expr* f = nullptr;
|
||||||
expr_ref assrtn(m_name2assertion.find(name), m);
|
if (m_name2assertion.find(name, f)) {
|
||||||
collect_pattern_fds(assrtn, pattern_fds);
|
expr_ref assrtn(f, m);
|
||||||
|
collect_pattern_fds(assrtn, pattern_fds);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pattern_fds.empty()) {
|
if (!pattern_fds.empty()) {
|
||||||
|
|
|
@ -1781,8 +1781,9 @@ void mpz_manager<SYNCH>::display_hex(std::ostream & out, mpz const & a, unsigned
|
||||||
}
|
}
|
||||||
|
|
||||||
static void display_binary_data(std::ostream &out, uint64_t val, uint64_t numBits) {
|
static void display_binary_data(std::ostream &out, uint64_t val, uint64_t numBits) {
|
||||||
for (uint64_t shift = numBits; shift-- > 64ull; ) out << "0";
|
for (uint64_t shift = numBits; shift-- > 64ull; ) out << "0";
|
||||||
for (uint64_t shift = std::min(64ull, numBits); shift-- > 0; ) {
|
if (numBits > 64) numBits = 64;
|
||||||
|
for (uint64_t shift = numBits; shift-- > 0; ) {
|
||||||
if (val & (1ull << shift)) {
|
if (val & (1ull << shift)) {
|
||||||
out << "1";
|
out << "1";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue