mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
build fixes
This commit is contained in:
parent
b909b87acc
commit
3e58f0cff1
1 changed files with 4 additions and 2 deletions
|
@ -283,8 +283,10 @@ namespace polymorphism {
|
||||||
vector<parameter> params;
|
vector<parameter> params;
|
||||||
for (unsigned i = 0; i < s->get_num_parameters(); ++i) {
|
for (unsigned i = 0; i < s->get_num_parameters(); ++i) {
|
||||||
parameter p = s->get_parameter(i);
|
parameter p = s->get_parameter(i);
|
||||||
if (p.is_ast() && is_sort(p.get_ast()))
|
if (p.is_ast() && is_sort(p.get_ast())) {
|
||||||
params.push_back(parameter(fresh(to_sort(p.get_ast()))));
|
sort_ref fs = fresh(to_sort(p.get_ast()));
|
||||||
|
params.push_back(parameter(fs.get()));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
params.push_back(p);
|
params.push_back(p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue