3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00

make euf-egraph resilient to when there are no consumers to literal propagation.

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-01-18 07:57:19 -08:00
parent 3012293c35
commit 9290de8223

View file

@ -154,10 +154,8 @@ namespace euf {
}
void egraph::add_literal(enode* n, enode* ante) {
/*
if (n->bool_var() == sat::null_bool_var)
if (!m_on_propagate_literal)
return;
*/
if (!ante) ++m_stats.m_num_eqs; else ++m_stats.m_num_lits;
if (!ante)
m_on_propagate_literal(n, ante);