mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 01:35:47 +00:00
Add model.user_functions (default true) to control whether user functions are added to the model.
This commit is contained in:
parent
a24a922688
commit
d790523c59
3 changed files with 7 additions and 1 deletions
|
@ -29,6 +29,7 @@ Revision History:
|
|||
#include "ast/proofs/proof_checker.h"
|
||||
#include "ast/ast_util.h"
|
||||
#include "ast/well_sorted.h"
|
||||
#include "model/model_params.hpp"
|
||||
#include "model/model.h"
|
||||
#include "model/model_pp.h"
|
||||
#include "smt/smt_context.h"
|
||||
|
@ -4638,7 +4639,8 @@ namespace smt {
|
|||
}
|
||||
|
||||
void context::add_rec_funs_to_model() {
|
||||
if (m_model)
|
||||
model_params p;
|
||||
if (m_model && p.user_functions())
|
||||
m_model->add_rec_funs();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue