mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 20:38:43 +00:00
logging which theory added constraints
This commit is contained in:
parent
fd9fd52271
commit
a0f6447a33
|
@ -1018,8 +1018,17 @@ namespace smt {
|
|||
void context::apply_sort_cnstr(app * term, enode * e) {
|
||||
sort * s = term->get_decl()->get_range();
|
||||
theory * th = m_theories.get_plugin(s->get_family_id());
|
||||
if (th)
|
||||
if (th) {
|
||||
if (m_manager.has_trace_stream()) {
|
||||
m_manager.trace_stream() << "[theory-constraints] " << m_manager.get_family_name(s->get_family_id()) << "\n";
|
||||
}
|
||||
|
||||
th->apply_sort_cnstr(e, s);
|
||||
|
||||
if (m_manager.has_trace_stream()) {
|
||||
m_manager.trace_stream() << "[end-theory-constraints]\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue