3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

fix axioms for extract, add extensionality checking for shared variables, convert exceptions to unknown status per #419

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-01-18 11:09:41 +05:30
parent 88362a1c3a
commit 85d44c5d66
17 changed files with 110 additions and 13 deletions

View file

@ -132,7 +132,8 @@ namespace opt {
m_objective_refs(m),
m_enable_sat(false),
m_is_clausal(false),
m_pp_neat(false)
m_pp_neat(false),
m_unknown("unknown")
{
params_ref p;
p.set_bool("model", true);
@ -487,7 +488,7 @@ namespace opt {
if (m_solver.get()) {
return m_solver->reason_unknown();
}
return std::string("unknown");
return m_unknown;
}
void context::display_bounds(std::ostream& out, bounds_t const& b) const {