mirror of
https://github.com/Z3Prover/z3
synced 2025-06-22 22:03:39 +00:00
fix warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6321dabe93
commit
794aafa6f8
4 changed files with 4 additions and 4 deletions
|
@ -398,7 +398,7 @@ public:
|
||||||
ast_manager& m = ctx.m();
|
ast_manager& m = ctx.m();
|
||||||
qe::interpolator mbi(m);
|
qe::interpolator mbi(m);
|
||||||
expr_ref itp(m);
|
expr_ref itp(m);
|
||||||
lbool res = mbi.pogo(ctx.get_solver_factory(), m_a, m_b, itp);
|
mbi.pogo(ctx.get_solver_factory(), m_a, m_b, itp);
|
||||||
ctx.regular_stream() << itp << "\n";
|
ctx.regular_stream() << itp << "\n";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1267,11 +1267,12 @@ namespace qe {
|
||||||
for (auto const& terms : partitions) {
|
for (auto const& terms : partitions) {
|
||||||
expr* a = nullptr;
|
expr* a = nullptr;
|
||||||
for (expr* b : terms) {
|
for (expr* b : terms) {
|
||||||
if (is_uninterp(b))
|
if (is_uninterp(b)) {
|
||||||
if (a)
|
if (a)
|
||||||
result.push_back(m.mk_eq(a, b));
|
result.push_back(m.mk_eq(a, b));
|
||||||
else
|
else
|
||||||
a = b;
|
a = b;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TRACE("qe", tout << result << "\n";);
|
TRACE("qe", tout << result << "\n";);
|
||||||
|
|
|
@ -426,7 +426,7 @@ namespace sat {
|
||||||
// Assign higher cutset budgets to equality candidates that come from simulation
|
// Assign higher cutset budgets to equality candidates that come from simulation
|
||||||
// touch them to trigger recomputation of cutsets.
|
// touch them to trigger recomputation of cutsets.
|
||||||
u64_map<literal> val2lit;
|
u64_map<literal> val2lit;
|
||||||
unsigned i = 0, j = 0, num_eqs = 0;
|
unsigned i = 0, num_eqs = 0;
|
||||||
for (cut_val val : var2val) {
|
for (cut_val val : var2val) {
|
||||||
if (!s.was_eliminated(i) && s.value(i) == l_undef) {
|
if (!s.was_eliminated(i) && s.value(i) == l_undef) {
|
||||||
literal u(i, false), v;
|
literal u(i, false), v;
|
||||||
|
|
|
@ -724,7 +724,6 @@ namespace smt {
|
||||||
void theory_fpa::init_model(model_generator & mg) {
|
void theory_fpa::init_model(model_generator & mg) {
|
||||||
TRACE("t_fpa", tout << "initializing model" << std::endl; display(tout););
|
TRACE("t_fpa", tout << "initializing model" << std::endl; display(tout););
|
||||||
ast_manager & m = get_manager();
|
ast_manager & m = get_manager();
|
||||||
context & ctx = get_context();
|
|
||||||
m_factory = alloc(fpa_value_factory, m, get_family_id());
|
m_factory = alloc(fpa_value_factory, m, get_family_id());
|
||||||
mg.register_factory(m_factory);
|
mg.register_factory(m_factory);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue