mirror of
https://github.com/Z3Prover/z3
synced 2025-11-19 20:30:50 +00:00
refactor get_sort
This commit is contained in:
parent
4455f6caf8
commit
3ae4c6e9de
129 changed files with 362 additions and 362 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue