mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
finetune
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8849cef4b7
commit
7343783efe
|
@ -2424,11 +2424,13 @@ public:
|
|||
}
|
||||
|
||||
void add_eq(lpvar u, lpvar v, lp::explanation const& e) {
|
||||
if (ctx().inconsistent())
|
||||
return;
|
||||
theory_var uv = lp().local_to_external(u); // variables that are returned should have external representations
|
||||
theory_var vv = lp().local_to_external(v); // so maybe better to have them already transformed to external form
|
||||
enode* n1 = get_enode(uv);
|
||||
enode* n2 = get_enode(vv);
|
||||
if (n1 == n2)
|
||||
if (n1->get_root() == n2->get_root())
|
||||
return;
|
||||
reset_evidence();
|
||||
for (auto const& ev : e)
|
||||
|
@ -2442,7 +2444,6 @@ public:
|
|||
ctx().assign_eq(n1, n2, eq_justification(js));
|
||||
}
|
||||
|
||||
|
||||
literal_vector m_core2;
|
||||
|
||||
void assign(literal lit, literal_vector const& core, svector<enode_pair> const& eqs, vector<parameter> const& params) {
|
||||
|
|
Loading…
Reference in a new issue