mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
fixes in order lemmas and printing terms
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
4b8a063996
commit
38eca3b66a
9 changed files with 83 additions and 89 deletions
|
@ -60,7 +60,7 @@ std::ostream& lar_solver::print_implied_bound(const implied_bound& be, std::ostr
|
|||
out << "implied bound\n";
|
||||
unsigned v = be.m_j;
|
||||
if (tv::is_term(v)) {
|
||||
out << "it is a term number " << be.m_j << std::endl;
|
||||
out << "it is a term number " << tv::unmask_term(be.m_j) << std::endl;
|
||||
print_term(*m_terms[tv::unmask_term(v)], out);
|
||||
}
|
||||
else {
|
||||
|
@ -1259,7 +1259,7 @@ void lar_solver::set_variable_name(var_index vi, std::string name) {
|
|||
|
||||
std::string lar_solver::get_variable_name(var_index j) const {
|
||||
if (tv::is_term(j))
|
||||
return std::string("_t") + T_to_string(j);
|
||||
return std::string("_t") + T_to_string(tv::unmask_term(j));
|
||||
if (j >= m_var_register.size())
|
||||
return std::string("_s") + T_to_string(j);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue