3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 20:46:01 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-02-14 17:44:36 -10:00
parent b5276e93bb
commit b71595f5b1
3 changed files with 7 additions and 3 deletions

View file

@ -763,7 +763,7 @@ namespace datalog {
class context::engine_type_proc {
ast_manager& m;
arith_util a;
arith_util a;
datatype_util dt;
bv_util bv;
DL_ENGINE m_engine_type;
@ -790,10 +790,14 @@ namespace datalog {
else if (is_large_bv(m.get_sort(e))) {
m_engine_type = SPACER_ENGINE;
}
else if (!m.get_sort(e)->get_num_elements().is_finite()) {
m_engine_type = SPACER_ENGINE;
}
}
};
void context::configure_engine(expr* q) {
TRACE("dl", tout << mk_pp(q, m) << " " << m_engine_type << "\n";);
if (m_engine_type != LAST_ENGINE) {
return;
}