3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-07 13:54:53 +00:00

Fix propagate_assoc find/else logic for hash table

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-02 00:38:04 +00:00
parent 82051ac4d8
commit 921260ae82

View file

@ -159,9 +159,11 @@ namespace euf {
return;
enode* existing = nullptr;
if (m_concat_table.find(n, existing) && existing != n)
push_merge(n, existing);
else if (!existing) {
if (m_concat_table.find(n, existing)) {
if (existing != n)
push_merge(n, existing);
}
else {
m_concat_table.insert(n);
m_concats.push_back(n);
push_undo(undo_kind::undo_add_to_table);