mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
This commit is contained in:
parent
d2f15d1b1a
commit
b5496d823d
1 changed files with 7 additions and 6 deletions
|
@ -282,11 +282,12 @@ namespace euf {
|
||||||
}
|
}
|
||||||
|
|
||||||
void egraph::set_value(enode* n, lbool value) {
|
void egraph::set_value(enode* n, lbool value) {
|
||||||
force_push();
|
if (n->value() == l_undef) {
|
||||||
TRACE("euf", tout << bpp(n) << "\n";);
|
force_push();
|
||||||
SASSERT(n->value() == l_undef);
|
TRACE("euf", tout << bpp(n) << " := " << value << "\n";);
|
||||||
n->set_value(value);
|
n->set_value(value);
|
||||||
m_updates.push_back(update_record(n, update_record::value_assignment()));
|
m_updates.push_back(update_record(n, update_record::value_assignment()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void egraph::set_lbl_hash(enode* n) {
|
void egraph::set_lbl_hash(enode* n) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue