mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
fix another recompilation bug
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4f7b6a2f18
commit
f28b158d57
2 changed files with 50 additions and 19 deletions
|
@ -29,24 +29,24 @@ static unsigned_vector g_handles;
|
|||
|
||||
|
||||
static void display_results() {
|
||||
if (g_opt) {
|
||||
model_ref mdl;
|
||||
g_opt->get_model(mdl);
|
||||
if (mdl) {
|
||||
model_smt2_pp(std::cout, g_opt->get_manager(), *mdl, 0);
|
||||
}
|
||||
|
||||
for (unsigned h : g_handles) {
|
||||
expr_ref lo = g_opt->get_lower(h);
|
||||
expr_ref hi = g_opt->get_upper(h);
|
||||
if (lo == hi) {
|
||||
std::cout << " " << lo << "\n";
|
||||
}
|
||||
else {
|
||||
std::cout << " [" << lo << ":" << hi << "]\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
IF_VERBOSE(1,
|
||||
if (g_opt) {
|
||||
model_ref mdl;
|
||||
g_opt->get_model(mdl);
|
||||
if (mdl) {
|
||||
model_smt2_pp(verbose_stream(), g_opt->get_manager(), *mdl, 0);
|
||||
}
|
||||
for (unsigned h : g_handles) {
|
||||
expr_ref lo = g_opt->get_lower(h);
|
||||
expr_ref hi = g_opt->get_upper(h);
|
||||
if (lo == hi) {
|
||||
std::cout << " " << lo << "\n";
|
||||
}
|
||||
else {
|
||||
std::cout << " [" << lo << ":" << hi << "]\n";
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
static void display_statistics() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue