mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
fixes issue #93
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1714182c38
commit
f8e2fa0337
|
@ -775,17 +775,19 @@ namespace smt {
|
||||||
|
|
||||||
|
|
||||||
bool theory_array_full::try_assign_eq(expr* v1, expr* v2) {
|
bool theory_array_full::try_assign_eq(expr* v1, expr* v2) {
|
||||||
|
TRACE("array",
|
||||||
|
tout << mk_bounded_pp(v1, get_manager()) << "\n==\n"
|
||||||
|
<< mk_bounded_pp(v2, get_manager()) << "\n";);
|
||||||
context& ctx = get_context();
|
context& ctx = get_context();
|
||||||
if (m_eqs.contains(v1, v2)) {
|
if (m_eqs.contains(v1, v2)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
m_eqs.insert(v1, v2, true);
|
else {
|
||||||
TRACE("array",
|
m_eqs.insert(v1, v2, true);
|
||||||
tout << mk_bounded_pp(v1, get_manager()) << "\n==\n"
|
literal eq(mk_eq(v1, v2, true));
|
||||||
<< mk_bounded_pp(v2, get_manager()) << "\n";);
|
m_eqsv.push_back(eq);
|
||||||
literal eq(mk_eq(v1, v2, true));
|
return true;
|
||||||
m_eqsv.push_back(eq);
|
}
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void theory_array_full::pop_scope_eh(unsigned num_scopes) {
|
void theory_array_full::pop_scope_eh(unsigned num_scopes) {
|
||||||
|
|
Loading…
Reference in a new issue