3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-19 15:16:29 +00:00

ensure engine is datalog for dl_table and dl_util tests

This commit is contained in:
Nikolaj Bjorner 2026-05-31 15:32:23 -07:00
parent 24e5a6ae3f
commit ebdf031c8f
6 changed files with 16 additions and 15 deletions

View file

@ -777,7 +777,7 @@ namespace datalog {
datatype_util dt;
bv_util bv;
array_util ar;
DL_ENGINE m_engine_type;
DL_ENGINE m_engine_type = DATALOG_ENGINE;
bool is_large_bv(expr *e) {
sort *s = e->get_sort();
@ -961,7 +961,6 @@ namespace datalog {
if (get_engine() == DATALOG_ENGINE) {
m_rel = dynamic_cast<rel_context_base*>(m_engine.get());
}
}
}

View file

@ -192,7 +192,7 @@ namespace datalog {
model_converter_ref m_mc;
proof_converter_ref m_pc;
rel_context_base* m_rel;
rel_context_base* m_rel = nullptr;
scoped_ptr<engine_base> m_engine;
bool m_closed;
@ -201,7 +201,7 @@ namespace datalog {
execution_result m_last_status;
expr_ref m_last_answer;
expr_ref m_last_ground_answer;
DL_ENGINE m_engine_type;
DL_ENGINE m_engine_type = LAST_ENGINE;