3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

fix processing of else expression for model table

This commit is contained in:
Nikolaj Bjorner 2023-05-02 12:16:58 -07:00
parent d5231f8b33
commit 392266c278

View file

@ -146,7 +146,8 @@ void func_interp::set_else(expr * e) {
ptr_vector<expr> args;
while (e && is_fi_entry_expr(e, args)) {
insert_entry(args.data(), to_app(e)->get_arg(1));
if (!get_entry(args.data()))
insert_entry(args.data(), to_app(e)->get_arg(1));
e = to_app(e)->get_arg(2);
}