mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
fixing bugs in refactored code exposed from White's example
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c84ab2fc01
commit
7237be768b
7 changed files with 117 additions and 131 deletions
|
@ -547,6 +547,10 @@ namespace opt {
|
|||
|
||||
|
||||
void context::from_fmls(expr_ref_vector const& fmls) {
|
||||
TRACE("opt",
|
||||
for (unsigned i = 0; i < fmls.size(); ++i) {
|
||||
tout << mk_pp(fmls[i], m) << "\n";
|
||||
});
|
||||
m_hard_constraints.reset();
|
||||
expr* orig_term;
|
||||
for (unsigned i = 0; i < fmls.size(); ++i) {
|
||||
|
@ -607,6 +611,10 @@ namespace opt {
|
|||
break;
|
||||
}
|
||||
}
|
||||
TRACE("opt",
|
||||
for (unsigned i = 0; i < fmls.size(); ++i) {
|
||||
tout << mk_pp(fmls[i].get(), m) << "\n";
|
||||
});
|
||||
}
|
||||
|
||||
void context::internalize() {
|
||||
|
@ -670,6 +678,11 @@ namespace opt {
|
|||
}
|
||||
}
|
||||
|
||||
void context::display(std::ostream& out) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
void context::display_assignment(std::ostream& out) {
|
||||
for (unsigned i = 0; i < m_objectives.size(); ++i) {
|
||||
objective const& obj = m_objectives[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue