mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 17:58:06 +00:00
add output for inprocessing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d1e95a133b
commit
c71da17a10
5 changed files with 16 additions and 1 deletions
|
@ -1934,6 +1934,14 @@ namespace sat {
|
|||
if (m_cut_simplifier && m_simplifications > m_config.m_cut_delay && !inconsistent()) {
|
||||
(*m_cut_simplifier)();
|
||||
}
|
||||
|
||||
if (m_config.m_inprocess_out.is_non_empty_string()) {
|
||||
std::ofstream fout(m_config.m_inprocess_out.str());
|
||||
if (fout) {
|
||||
display_dimacs(fout);
|
||||
}
|
||||
throw solver_exception("output generated");
|
||||
}
|
||||
}
|
||||
|
||||
bool solver::set_root(literal l, literal r) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue