3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 04:15:51 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-06-08 13:37:29 -07:00
parent c6f0afa008
commit bdf6a17b89
3 changed files with 5 additions and 4 deletions

View file

@ -175,7 +175,7 @@ namespace array {
ptr_buffer<expr> sel1_args, sel2_args;
unsigned num_args = select->get_num_args();
if (expr2enode(select->get_arg(0))->get_root() == expr2enode(store)->get_root())
if (select->get_arg(0) != store && expr2enode(select->get_arg(0))->get_root() == expr2enode(store)->get_root())
return false;
bool has_diff = false;
for (unsigned i = 1; i < num_args; i++)