mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15:51 +00:00
move drat functionality into euf
This commit is contained in:
parent
1ffbe23ee3
commit
458f417f44
4 changed files with 16 additions and 39 deletions
|
@ -1430,10 +1430,9 @@ namespace pb {
|
|||
IF_VERBOSE(0, verbose_stream() << *c << "\n");
|
||||
VERIFY(c->well_formed());
|
||||
if (m_solver && m_solver->get_config().m_drat) {
|
||||
std::function<void(std::ostream& out)> fn = [&](std::ostream& out) {
|
||||
out << "c ba constraint " << *c << " 0\n";
|
||||
};
|
||||
m_solver->get_drat().log_adhoc(fn);
|
||||
auto * out = s().get_drat().out();
|
||||
if (out)
|
||||
*out << "c ba constraint " << *c << " 0\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue