3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 14:13:23 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-04-22 23:14:28 -07:00
parent d2f15d1b1a
commit b5496d823d

View file

@ -282,12 +282,13 @@ namespace euf {
} }
void egraph::set_value(enode* n, lbool value) { void egraph::set_value(enode* n, lbool value) {
if (n->value() == l_undef) {
force_push(); force_push();
TRACE("euf", tout << bpp(n) << "\n";); TRACE("euf", tout << bpp(n) << " := " << value << "\n";);
SASSERT(n->value() == l_undef);
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) {
NOT_IMPLEMENTED_YET(); NOT_IMPLEMENTED_YET();