3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00

Enable model construction and evaluation for theory functions that may be uninterpreted. To fix issue

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-11-02 11:36:50 -08:00
parent 77fec049a5
commit ec12368b54

View file

@ -154,7 +154,7 @@ struct evaluator_cfg : public default_rewriter_cfg {
st = m_f_rw.mk_app_core(f, num, args, result);
// allow for model evaluation to work on result of rewriting.
if (st == BR_DONE) {
if (st == BR_DONE && is_app(result) && to_app(result)->get_num_args() > 0) {
return BR_REWRITE1;
}