3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-19 20:30:50 +00:00

refactor get_sort

This commit is contained in:
Nikolaj Bjorner 2021-02-02 04:45:54 -08:00
parent 4455f6caf8
commit 3ae4c6e9de
129 changed files with 362 additions and 362 deletions

View file

@ -198,7 +198,7 @@ void rule_properties::insert(ptr_vector<rule>& rules, rule* r) {
}
void rule_properties::operator()(var* n) {
check_sort(m.get_sort(n));
check_sort(n->get_sort());
}
void rule_properties::operator()(quantifier* n) {
@ -245,7 +245,7 @@ void rule_properties::operator()(app* n) {
else if (m_rec.is_defined(f)) {
m_uninterp_funs.insert(f, m_rule);
}
check_sort(m.get_sort(n));
check_sort(n->get_sort());
}
bool rule_properties::evaluates_to_numeral(expr * n, rational& val) {