3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

display model-add parameters in correct order

This commit is contained in:
Nikolaj Bjorner 2022-11-19 18:44:52 +07:00
parent ba68652c72
commit c2e9016d04

View file

@ -26,7 +26,7 @@ Notes:
void model_converter::display_add(std::ostream& out, smt2_pp_environment& env, ast_manager& m, func_decl* f, expr* e) {
VERIFY(e);
VERIFY(f->get_range() == e->get_sort());
ast_smt2_pp(out, f, e, env, params_ref(), 0, "model-add") << "\n";
ast_smt2_pp(out, f, e, env, params_ref(), 0, "model-add", true) << "\n";
}
void model_converter::display_add(std::ostream& out, ast_manager& m, func_decl* f, expr* e) const {