mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 03:27:52 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
271cd2ac6b
commit
2e6908bd9e
7 changed files with 61 additions and 20 deletions
|
@ -3282,6 +3282,12 @@ namespace nlsat {
|
|||
m_imp->m_bvalues.reset();
|
||||
m_imp->m_bvalues.append(vs);
|
||||
m_imp->m_bvalues.resize(m_imp->m_atoms.size(), l_undef);
|
||||
for (unsigned i = 0; i < m_imp->m_atoms.size(); ++i) {
|
||||
atom* a = m_imp->m_atoms[i];
|
||||
if (a) {
|
||||
m_imp->m_bvalues[i] = to_lbool(m_imp->m_evaluator.eval(a, false));
|
||||
}
|
||||
}
|
||||
TRACE("nlsat", display(tout););
|
||||
}
|
||||
|
||||
|
@ -3329,6 +3335,10 @@ namespace nlsat {
|
|||
return out;
|
||||
}
|
||||
|
||||
std::ostream& solver::display(std::ostream & out, literal_vector const& ls) const {
|
||||
return display(out, ls.size(), ls.c_ptr());
|
||||
}
|
||||
|
||||
std::ostream& solver::display(std::ostream & out, var x) const {
|
||||
return m_imp->m_display_var(out, x);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue