Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/solvers/smt2/smt2_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,7 @@ void smt2_solvert::command(const std::string &c)
// this is a command that Z3 appears to implement
exprt e=expression();
if(e.is_not_nil())
{
std::cout << e.pretty() << '\n'; // need to do an 'smt2_format'
}
std::cout << smt2_format(e) << '\n';
}
else if(c == "get-value")
{
Expand Down Expand Up @@ -237,7 +235,7 @@ void smt2_solvert::command(const std::string &c)
const symbol_tablet symbol_table;
const namespacet ns(symbol_table);
exprt e_simplified=simplify_expr(e, ns);
std::cout << e.pretty() << '\n'; // need to do an 'smt2_format'
std::cout << smt2_format(e) << '\n';
}
}
#if 0
Expand Down