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
|
@ -26,7 +26,7 @@ namespace opt {
|
|||
|
||||
class sls : public maxsmt_solver_base {
|
||||
public:
|
||||
sls(context& c, vector<rational> const& ws, expr_ref_vector const& soft):
|
||||
sls(context& c, weights_t& ws, expr_ref_vector const& soft):
|
||||
maxsmt_solver_base(c, ws, soft) {
|
||||
}
|
||||
virtual ~sls() {}
|
||||
|
@ -52,8 +52,8 @@ namespace opt {
|
|||
|
||||
};
|
||||
|
||||
maxsmt_solver_base* opt::mk_sls(context& c,
|
||||
vector<rational> const& ws, expr_ref_vector const& soft) {
|
||||
maxsmt_solver_base* opt::mk_sls(
|
||||
context& c, weights_t& ws, expr_ref_vector const& soft) {
|
||||
return alloc(sls, c, ws, soft);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue