3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-10-22 11:31:41 -07:00
parent 9bd7df7e19
commit c9900720f8
7 changed files with 39 additions and 15 deletions

View file

@ -1674,7 +1674,7 @@ void cmd_context::add_declared_functions(model& mdl) {
expr* val = mdl.get_some_value(f->get_range());
if (f->get_arity() == 0) {
mdl.register_decl(f, val);
}
}
else {
func_interp* fi = alloc(func_interp, m(), f->get_arity());
fi->set_else(val);