mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 00:18:45 +00:00
completing user print experience with seq/re #2200
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fca8ffd948
commit
dc0e9c1919
9 changed files with 115 additions and 11 deletions
|
@ -75,7 +75,7 @@ namespace sat {
|
|||
void model_converter::operator()(model & m) const {
|
||||
vector<entry>::const_iterator begin = m_entries.begin();
|
||||
vector<entry>::const_iterator it = m_entries.end();
|
||||
bool first = false; // true; // false; // // true;
|
||||
bool first = false;
|
||||
//SASSERT(!m_solver || m_solver->check_clauses(m));
|
||||
while (it != begin) {
|
||||
--it;
|
||||
|
@ -146,6 +146,10 @@ namespace sat {
|
|||
bool sat = false;
|
||||
for (literal l : it->m_clauses) {
|
||||
if (l == null_literal) {
|
||||
CTRACE("sat", !sat,
|
||||
display(tout);
|
||||
for (unsigned v = 0; v < m.size(); ++v) tout << v << ": " << m[v] << "\n";
|
||||
);
|
||||
SASSERT(sat);
|
||||
sat = false;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue