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 #237
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
77fec049a5
commit
ec12368b54
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue