3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-30 12:28:53 +00:00

fix double override bug in bv_lookahead, integrate with bv_eval

This commit is contained in:
Nikolaj Bjorner 2024-12-27 12:26:11 -08:00
parent 8de0005ab3
commit b0eee16109
9 changed files with 128 additions and 56 deletions

View file

@ -33,7 +33,7 @@ namespace sls {
bool operator==(bvect const& a, bvect const& b) {
SASSERT(a.nw > 0);
return 0 == mpn_manager().compare(a.data(), a.nw, b.data(), a.nw);
return 0 == memcmp(a.data(), b.data(), a.nw * sizeof(digit_t));
}
bool operator<(bvect const& a, bvect const& b) {