mirror of
https://github.com/Z3Prover/z3
synced 2025-09-12 12:41:27 +00:00
parent
6761bf1495
commit
d2ec661ec6
3 changed files with 10 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue