mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 04:43:39 +00:00
working on SLS
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2909e8cd9e
commit
e3a854743b
2 changed files with 1 additions and 5 deletions
|
@ -496,7 +496,6 @@ func_decl * arith_decl_plugin::mk_func_decl(decl_kind k, unsigned num_parameters
|
||||||
if (k == OP_NUM)
|
if (k == OP_NUM)
|
||||||
return mk_num_decl(num_parameters, parameters, arity);
|
return mk_num_decl(num_parameters, parameters, arity);
|
||||||
if (arity == 0 && !is_const_op(k)) {
|
if (arity == 0 && !is_const_op(k)) {
|
||||||
UNREACHABLE();
|
|
||||||
m_manager->raise_exception("no arguments supplied to arithmetical operator");
|
m_manager->raise_exception("no arguments supplied to arithmetical operator");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -514,7 +513,6 @@ func_decl * arith_decl_plugin::mk_func_decl(decl_kind k, unsigned num_parameters
|
||||||
if (k == OP_NUM)
|
if (k == OP_NUM)
|
||||||
return mk_num_decl(num_parameters, parameters, num_args);
|
return mk_num_decl(num_parameters, parameters, num_args);
|
||||||
if (num_args == 0 && !is_const_op(k)) {
|
if (num_args == 0 && !is_const_op(k)) {
|
||||||
UNREACHABLE();
|
|
||||||
m_manager->raise_exception("no arguments supplied to arithmetical operator");
|
m_manager->raise_exception("no arguments supplied to arithmetical operator");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,7 +54,6 @@ namespace opt {
|
||||||
unsigned m_upper;
|
unsigned m_upper;
|
||||||
unsigned m_lower;
|
unsigned m_lower;
|
||||||
model_ref m_model;
|
model_ref m_model;
|
||||||
unsigned m_num_steps;
|
|
||||||
|
|
||||||
imp(ast_manager& m, opt_solver& s, expr_ref_vector const& soft):
|
imp(ast_manager& m, opt_solver& s, expr_ref_vector const& soft):
|
||||||
m(m),
|
m(m),
|
||||||
|
@ -64,8 +63,7 @@ namespace opt {
|
||||||
m_orig_soft(soft),
|
m_orig_soft(soft),
|
||||||
m_aux(m),
|
m_aux(m),
|
||||||
m_upper(0),
|
m_upper(0),
|
||||||
m_lower(0),
|
m_lower(0)
|
||||||
m_num_steps(0)
|
|
||||||
{
|
{
|
||||||
m_upper = m_soft.size() + 1;
|
m_upper = m_soft.size() + 1;
|
||||||
m_assignment.resize(m_soft.size(), false);
|
m_assignment.resize(m_soft.size(), false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue