mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
fix bug in sls
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
16bffab8fd
commit
b82a68f4d4
6 changed files with 27 additions and 3 deletions
|
@ -98,6 +98,10 @@ namespace opt {
|
|||
m_c.enable_sls(soft, ws);
|
||||
}
|
||||
|
||||
void maxsmt_solver_base::set_enable_sls(bool f) {
|
||||
m_c.set_enable_sls(f);
|
||||
}
|
||||
|
||||
app* maxsmt_solver_base::mk_fresh_bool(char const* name) {
|
||||
app* result = m.mk_fresh_const(name, m.mk_bool_sort());
|
||||
m_c.fm().insert(result->get_decl());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue