mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
address divergence in the case of shared theory symbols. Codeplex issue 147, thanks to George Karpenkov
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
commit
08cb8b8de8
74 changed files with 1280 additions and 896 deletions
|
@ -3939,9 +3939,16 @@ namespace smt {
|
|||
return th->get_value(n, value);
|
||||
}
|
||||
|
||||
void context::update_model() {
|
||||
mk_proto_model(l_true);
|
||||
m_model = m_proto_model->mk_model();
|
||||
bool context::update_model(bool refinalize) {
|
||||
final_check_status fcs = FC_DONE;
|
||||
if (refinalize) {
|
||||
fcs = final_check();
|
||||
}
|
||||
if (fcs == FC_DONE) {
|
||||
mk_proto_model(l_true);
|
||||
m_model = m_proto_model->mk_model();
|
||||
}
|
||||
return fcs == FC_DONE;
|
||||
}
|
||||
|
||||
void context::mk_proto_model(lbool r) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue