Skip to content

Commit

Permalink
fix regression in fix for #7006
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Nov 29, 2023
1 parent faa2d8a commit 9efe6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/model_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ struct evaluator_cfg : public default_rewriter_cfg {
}
else if (m_dt.is_accessor(f)) {
expr* arg = args[0];
if (is_ground(arg) && !fi) {
if (m.is_value(arg) && !fi) {
fi = alloc(func_interp, m, f->get_arity());
expr* val = m_model.get_some_value(f->get_range());
fi->set_else(val);
Expand Down

0 comments on commit 9efe6f6

Please sign in to comment.