3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

fix regression in fix for #7006

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-11-29 14:54:54 -08:00
parent faa2d8ac6c
commit 9efe6f6afa

View file

@ -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);