3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 00:05:46 +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

@ -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);