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:
parent
82051ac4d8
commit
921260ae82
1 changed files with 5 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue