mirror of
https://github.com/Z3Prover/z3
synced 2025-08-14 06:45:25 +00:00
This commit is contained in:
parent
07e2ca100d
commit
b1e8303257
1 changed files with 4 additions and 4 deletions
|
@ -297,6 +297,7 @@ namespace euf {
|
||||||
void egraph::pop(unsigned num_scopes) {
|
void egraph::pop(unsigned num_scopes) {
|
||||||
if (num_scopes <= m_num_scopes) {
|
if (num_scopes <= m_num_scopes) {
|
||||||
m_num_scopes -= num_scopes;
|
m_num_scopes -= num_scopes;
|
||||||
|
m_to_merge.reset();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
num_scopes -= m_num_scopes;
|
num_scopes -= m_num_scopes;
|
||||||
|
@ -705,8 +706,6 @@ namespace euf {
|
||||||
TRACE("euf", display(tout << bpp(n) << " is not closed under congruence\n"););
|
TRACE("euf", display(tout << bpp(n) << " is not closed under congruence\n"););
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostream& egraph::display(std::ostream& out, unsigned max_args, enode* n) const {
|
std::ostream& egraph::display(std::ostream& out, unsigned max_args, enode* n) const {
|
||||||
|
@ -795,6 +794,7 @@ namespace euf {
|
||||||
propagate();
|
propagate();
|
||||||
for (unsigned i = 0; i < src.m_scopes.size(); ++i)
|
for (unsigned i = 0; i < src.m_scopes.size(); ++i)
|
||||||
push();
|
push();
|
||||||
|
force_push();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue