3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 09:44:43 +00:00

fix build warning

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-11-02 11:26:25 -07:00
parent 40b927ff2b
commit d702e68fb9
8 changed files with 4 additions and 10 deletions

View file

@ -2240,12 +2240,12 @@ namespace sls {
return value(v) == abs(value(od.m_arg1));
}
case arith_op_kind::OP_TO_INT: {
auto od = m_ops[vi.m_def_idx];
// auto od = m_ops[vi.m_def_idx];
NOT_IMPLEMENTED_YET();
break;
}
case arith_op_kind::OP_TO_REAL: {
auto od = m_ops[vi.m_def_idx];
// auto od = m_ops[vi.m_def_idx];
NOT_IMPLEMENTED_YET();
break;
}

View file

@ -17,7 +17,6 @@ Author:
namespace sls {
class basic_plugin : public plugin {
bool m_initialized = false;
expr_mark m_axiomatized;
bool is_basic(expr* e) const;

View file

@ -23,7 +23,6 @@ Author:
namespace sls {
bv_terms::bv_terms(sls::context& ctx):
ctx(ctx),
m(ctx.get_manager()),
bv(m),
m_axioms(m) {}

View file

@ -29,7 +29,6 @@ Author:
namespace sls {
class bv_terms {
sls::context& ctx;
ast_manager& m;
bv_util bv;
expr_ref_vector m_axioms;

View file

@ -430,7 +430,6 @@ namespace sls {
}
euf::enode* datatype_plugin::get_constructor(euf::enode* n) const {
euf::enode* con = nullptr;
for (auto sib : euf::enode_class(n))
if (dt.is_constructor(sib->get_expr()))
return sib;

View file

@ -101,7 +101,6 @@ namespace sls {
g.explain<size_t>(explain, nullptr);
g.end_explain();
double reward = -1;
bool has_flipped = false;
TRACE("enf",
for (auto p : explain) {
sat::literal l = to_literal(p);

View file

@ -70,7 +70,6 @@ namespace sls {
public:
euf_plugin(context& c);
~euf_plugin() override;
family_id fid() { return m_fid; }
expr_ref get_value(expr* e) override;
void initialize() override;
void start_propagation() override;

View file

@ -64,7 +64,7 @@ namespace sls {
continue;
m_context.register_atom(v, m_smt2sls_tr(e));
for (auto t : subterms::all(expr_ref(e, m)))
add_shared_term(e);
add_shared_term(t);
}
for (auto fml : fmls)
@ -82,7 +82,7 @@ namespace sls {
continue;
add_shared_var(v, w);
for (auto t : subterms::all(expr_ref(e, m)))
add_shared_term(e);
add_shared_term(t);
}
m_thread = std::thread([this]() { run(); });