3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

print model-add in display method

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-11-21 21:26:07 -08:00
parent 2313b14210
commit 107bfb1438
5 changed files with 17 additions and 13 deletions

View file

@ -179,6 +179,7 @@ bool solver::is_literal(ast_manager& m, expr* e) {
void solver::assert_expr(expr* f) {
expr_ref fml(f, get_manager());
model_converter_ref mc = get_model_converter();
mc = concat(mc0(), mc.get());
if (mc) {
(*mc)(fml);
}
@ -190,6 +191,7 @@ void solver::assert_expr(expr* f, expr* t) {
expr_ref fml(f, m);
expr_ref a(t, m);
model_converter_ref mc = get_model_converter();
mc = concat(mc0(), mc.get());
if (mc) {
(*mc)(fml);
// (*mc0())(a);