3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-12 12:41:27 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-06 16:42:01 -07:00
parent 6761bf1495
commit d2ec661ec6
3 changed files with 10 additions and 6 deletions

View file

@ -766,6 +766,7 @@ namespace datalog {
arith_util a;
datatype_util dt;
bv_util bv;
array_util ar;
DL_ENGINE m_engine_type;
bool is_large_bv(sort* s) {
@ -773,7 +774,7 @@ namespace datalog {
}
public:
engine_type_proc(ast_manager& m): m(m), a(m), dt(m), bv(m), m_engine_type(DATALOG_ENGINE) {}
engine_type_proc(ast_manager& m): m(m), a(m), dt(m), bv(m), ar(m), m_engine_type(DATALOG_ENGINE) {}
DL_ENGINE get_engine() const { return m_engine_type; }
@ -793,6 +794,9 @@ namespace datalog {
else if (!m.get_sort(e)->get_num_elements().is_finite()) {
m_engine_type = SPACER_ENGINE;
}
else if (ar.is_array(e)) {
m_engine_type = SPACER_ENGINE;
}
}
};