Skip to content

Commit

Permalink
fix processing of else expression for model table
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed May 2, 2023
1 parent d5231f8 commit 392266c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/model/func_interp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 392266c

Please sign in to comment.