mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 02:04:43 +00:00
fix bug in unsat core extraction in sat solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1c56d6ee95
commit
a47f3df703
14 changed files with 70 additions and 53 deletions
|
@ -75,7 +75,7 @@ namespace opt {
|
|||
|
||||
|
||||
public:
|
||||
maxhs(context& c, vector<rational> const& ws, expr_ref_vector const& soft):
|
||||
maxhs(context& c, weights_t& ws, expr_ref_vector const& soft):
|
||||
maxsmt_solver_base(c, ws, soft),
|
||||
m_aux(m),
|
||||
m_at_lower_bound(false) {
|
||||
|
@ -554,8 +554,8 @@ namespace opt {
|
|||
|
||||
};
|
||||
|
||||
maxsmt_solver_base* opt::mk_maxhs(context& c,
|
||||
vector<rational> const& ws, expr_ref_vector const& soft) {
|
||||
maxsmt_solver_base* opt::mk_maxhs(
|
||||
context& c, weights_t& ws, expr_ref_vector const& soft) {
|
||||
return alloc(maxhs, c, ws, soft);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue