Skip to content

Commit b665c99

Browse files
add missing dependencies
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent c387b20 commit b665c99

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

scripts/mk_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ def init_project_def():
2020
add_lib('simplex', ['util'], 'math/simplex')
2121
add_lib('hilbert', ['util'], 'math/hilbert')
2222
add_lib('automata', ['util'], 'math/automata')
23-
add_lib('params', ['util'])
2423
add_lib('realclosure', ['interval'], 'math/realclosure')
2524
add_lib('subpaving', ['interval'], 'math/subpaving')
2625
add_lib('ast', ['util', 'polynomial'])
26+
add_lib('params', ['util', 'ast'])
2727
add_lib('parser_util', ['ast'], 'parsers/util')
2828
add_lib('euf', ['ast'], 'ast/euf')
2929
add_lib('grobner', ['ast', 'dd', 'simplex'], 'math/grobner')

src/ast/simplifiers/euf_completion.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ Mam optimization?
5454
#include "ast/rewriter/var_subst.h"
5555
#include "ast/simplifiers/euf_completion.h"
5656
#include "ast/shared_occs.h"
57-
#include "params/tactic_params.hpp"
5857
#include "params/smt_params_helper.hpp"
5958

6059
namespace euf {
@@ -99,8 +98,8 @@ namespace euf {
9998
}
10099

101100
void completion::updt_params(params_ref const& p) {
102-
tactic_params tp(p);
103-
m_max_instantiations = tp.completion_max_instantiations();
101+
smt_params_helper sp(p);
102+
m_max_instantiations = sp.qi_max_instances();
104103
}
105104

106105
struct completion::push_watch_rule : public trail {

src/params/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ z3_add_component(params
1414
theory_str_params.cpp
1515
COMPONENT_DEPENDENCIES
1616
util
17+
ast
1718
PYG_FILES
1819
arith_rewriter_params.pyg
1920
array_rewriter_params.pyg

src/params/tactic_params.pyg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ def_module_params('tactic',
1212
('lia2card.max_range', UINT, 100, "maximal range of integers to compilation into Booleans"),
1313
('lia2card.max_ite_nesting', UINT, 4, "maximal nesting depth for ite expressions to be compiled into PB constraints"),
1414
('randomizer.seed', UINT, 0, "seed for randomizer pre-processor"),
15-
('completion.max_instantiations', UINT, UINT_MAX, "Maximal number of instantiations allowed for euf-completion"),
1615
('default_tactic', SYMBOL, '', "overwrite default tactic in strategic solver"),
1716

1817
# ('aig.per_assertion', BOOL, True, "process one assertion at a time"),

0 commit comments

Comments
 (0)