mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
save model from level 0, fix #1380
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
81ec5bae95
commit
103ce78c29
2 changed files with 7 additions and 1 deletions
|
@ -190,6 +190,9 @@ bool rewriter_tpl<Config>::constant_fold(app * t, frame & fr) {
|
|||
else if (m().is_false(cond)) {
|
||||
arg = t->get_arg(2);
|
||||
}
|
||||
else {
|
||||
std::cout << mk_ismt2_pp(cond, m()) << "\n";
|
||||
}
|
||||
if (arg) {
|
||||
result_stack().shrink(fr.m_spos);
|
||||
result_stack().push_back(arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue