mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 02:57:50 +00:00
updates to model generation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c80f34102f
commit
1c2966f8e9
6 changed files with 21 additions and 22 deletions
|
@ -47,11 +47,7 @@ public:
|
|||
|
||||
void hide(func_decl * f) { m_hide_entries.push_back(entry(f, 0, m, HIDE)); }
|
||||
|
||||
void add(func_decl * d, expr* e) {
|
||||
struct entry et(d, e, m, ADD);
|
||||
m_first_idx.insert_if_not_there(et.m_f, m_add_entries.size());
|
||||
m_add_entries.push_back(et);
|
||||
}
|
||||
void add(func_decl * d, expr* e);
|
||||
|
||||
void add(expr * d, expr* e) { SASSERT(is_app(d) && to_app(d)->get_num_args() == 0); add(to_app(d)->get_decl(), e); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue