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:
parent
2313b14210
commit
107bfb1438
5 changed files with 17 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue