mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
tup
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9294b2ceb2
commit
435f79eab0
|
@ -218,8 +218,8 @@ bool theory_user_propagator::internalize_term(app* term) {
|
||||||
|
|
||||||
unsigned v = add_expr(term);
|
unsigned v = add_expr(term);
|
||||||
|
|
||||||
if (!m_created_eh)
|
if (!m_created_eh && m_fixed_eh)
|
||||||
throw default_exception("You have to register a created event handler for new terms");
|
throw default_exception("You have to register a created event handler for new terms if you track them");
|
||||||
m_created_eh(m_user_context, this, term, v);
|
m_created_eh(m_user_context, this, term, v);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue