mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
improve diagnostics
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7b0c04a3e8
commit
5fc208cefc
4 changed files with 22 additions and 4 deletions
|
@ -114,4 +114,11 @@ namespace polysat {
|
|||
auto r = m_intblast.check_axiom(clause);
|
||||
VERIFY (r != l_true);
|
||||
}
|
||||
|
||||
std::ostream& solver::display_clause(char const* name, std::ostream& out, sat::literal_vector const& lits) const {
|
||||
out << name << ":\n";
|
||||
for (auto lit : lits)
|
||||
out << ctx.literal2expr(lit) << "\n";
|
||||
return out;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue