mirror of
https://github.com/Z3Prover/z3
synced 2025-05-08 00:05:46 +00:00
refactor get_sort
This commit is contained in:
parent
4455f6caf8
commit
3ae4c6e9de
129 changed files with 362 additions and 362 deletions
|
@ -34,7 +34,7 @@ void expr_rand::add_func_decl(func_decl* f) {
|
|||
}
|
||||
|
||||
void expr_rand::add_expr(expr* t) {
|
||||
sort* s = m_manager.get_sort(t);
|
||||
sort* s = t->get_sort();
|
||||
expr_ref_vector* vals = nullptr;
|
||||
if (!m_nodes.find(s, vals)) {
|
||||
vals = alloc(expr_ref_vector, m_manager);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue