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

trim implementation

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2026-06-11 20:32:03 -07:00
parent 7063ab4646
commit dcbbb55b73

View file

@ -184,7 +184,7 @@ private:
std::unordered_set<uint64_t> m_seen;
uint64_t compute_fingerprint(expr* term) {
uint64_t a = 0, b = 1, c = 2;
uint64_t a = 1, b = 2, c = 0;
for (auto& mdl : m_samples) {
expr_ref val(m);
model_evaluator eval(*mdl);
@ -194,7 +194,7 @@ private:
a *= val->hash();
mix(a, b, c);
}
return a;
return c;
}
};